Skip to content

Commit 0647884

Browse files
committed
Use npm ci in lint job
1 parent 28a27af commit 0647884

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
- run: curl -L https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.3.5/ec-linux-amd64.tar.gz | tar xzf - -C /opt
3333
- run: /opt/bin/ec-linux-amd64 -v
3434

35-
- name: Install ESLint
36-
run: |
37-
ESLINT_VERSION=$(node -p "require('./package-lock.json').packages['node_modules/eslint'].version")
38-
npm i --no-save eslint@$ESLINT_VERSION
39-
- run: npm run eslint
35+
- name: Install deps
36+
run: npm ci
37+
38+
- name: Lint
39+
run: npm run eslint
4040

4141
test-js:
4242
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)