Skip to content

Commit 20beaa8

Browse files
committed
Added linter
1 parent 7ee5d9c commit 20beaa8

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/_build-deploy.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ concurrency:
1717
group: build-deploy-${{ inputs.env }}
1818

1919
env:
20-
NODE_VERSION: 20.11.0
20+
NODE_VERSION: 22.15.0
2121
VITE_BUILD_VERSION: ${{ inputs.version }}
2222
VITE_DD_VERSION: ${{ inputs.version }}
2323

@@ -57,12 +57,19 @@ jobs:
5757
node-version: ${{ env.NODE_VERSION }}
5858

5959
- name: Install dependencies
60-
run: npm install --only=production
60+
run: npm ci
6161

62-
- name: Running tests
63-
run: npm run test
62+
- uses: wearerequired/lint-action@v2
63+
name: Lint
64+
with:
65+
eslint: true
66+
eslint_extensions: js,jsx,ts,tsx
67+
prettier: true
68+
prettier_extensions: js,jsx,ts,tsx
69+
continue_on_error: false
6470

65-
# TODO run linter?
71+
- name: Tests
72+
run: npm run test
6673

6774
- name: Build admin app
6875
run: npm run build

0 commit comments

Comments
 (0)