Skip to content

Commit 14ae5f5

Browse files
committed
Install dependencies using package-lock
1 parent 2403149 commit 14ae5f5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,17 @@ jobs:
2222
uses: actions/checkout@v2
2323
- uses: actions/setup-node@v2
2424
with:
25-
node-version: '16'
25+
node-version: 16
2626
- name: Cache dependencies
2727
uses: actions/cache@v2
2828
with:
2929
path: ~/.npm
3030
key: npm-${{ hashFiles('package-lock.json') }}
3131
restore-keys: npm-
32+
- name: Install packages
33+
run: npm ci
3234
- name: Lint code
33-
run: npm run lint
35+
run: npm run lint
3436
- name: Run browser tests in Saucelabs
3537
run: npm run test-ci
3638
timeout-minutes: 5

0 commit comments

Comments
 (0)