Skip to content

Commit d0a14d7

Browse files
committed
use npm i instad of npm ci in workflows
1 parent 34bbd0f commit d0a14d7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/tests-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
${{ runner.os }}-node-${{ matrix.node }}
5858
5959
# for this workflow we also require npm audit to pass
60-
- run: npm ci
60+
- run: npm i
6161
- run: npm run test:coverage
6262

6363
# with the following action we enforce PRs to have a high coverage
@@ -110,7 +110,7 @@ jobs:
110110
# we just cloned and install it as local dependency
111111
- run: |
112112
cd github/testing/express
113-
npm ci
113+
npm i
114114
npm install ../../../
115115
npm run test
116116
@@ -125,7 +125,7 @@ jobs:
125125
with:
126126
node-version: 12
127127
registry-url: https://registry.npmjs.org/
128-
- run: npm ci
128+
- run: npm i
129129
- run: npm publish --dry-run
130130
env:
131131
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
@@ -143,7 +143,7 @@ jobs:
143143
# we always publish targeting the lowest supported node version
144144
node-version: 12
145145
registry-url: $registry-url(npm)
146-
- run: npm ci
146+
- run: npm i
147147
- run: npm publish --dry-run
148148
env:
149149
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
3636
restore-keys: |
3737
${{ runner.os }}-node-${{ matrix.node }}
38-
- run: npm ci
38+
- run: npm i
3939
- run: npm run test:coverage
4040

4141
# with the following action we enforce PRs to have a high coverage

0 commit comments

Comments
 (0)