fix: use npm ci
This commit is contained in:
parent
47cc98f842
commit
6786aee866
|
@ -42,9 +42,9 @@ jobs:
|
|||
path: ~/.npm
|
||||
key: examples-node-v1-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
- name: (npm) ${{ matrix.example }} install using npm i
|
||||
- name: (npm) ${{ matrix.example }} install using npm ci
|
||||
if: steps.use-yarn.outputs.lockfile != 'yarn.lock'
|
||||
run: npm install
|
||||
run: npm ci
|
||||
working-directory: ${{ matrix.example }}
|
||||
|
||||
- name: (npm) ${{ matrix.example }} test
|
||||
|
|
Loading…
Reference in New Issue