Skip to content

Commit 4271289

Browse files
committed
Fikser linting i workflows
1 parent 8bd7483 commit 4271289

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-and-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
node-version: '20'
1616
registry-url: 'https://npm.pkg.github.com'
1717
cache: 'npm'
18-
- name: Run linting
19-
run: npm run lint
2018
- name: Install dependencies
2119
run: npm ci --ignore-scripts
2220
env:
2321
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }}
22+
- name: Run linting
23+
run: npm run lint
2424
- name: Build application
2525
run: npm run build-local
2626
- name: Run tests

.github/workflows/build-image.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ jobs:
7878
node-version: '20'
7979
registry-url: 'https://npm.pkg.github.com'
8080
cache: 'npm'
81-
- name: Run linting
82-
run: npm run lint
8381
- name: Set app environmment
8482
run: |
8583
cat > .env <<EOF
@@ -108,6 +106,8 @@ jobs:
108106
run: npm ci
109107
env:
110108
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }}
109+
- name: Run linting
110+
run: npm run lint
111111
- name: Run tests
112112
run: npm run test
113113
- name: Build application

0 commit comments

Comments
 (0)