Skip to content

Commit

Permalink
Use npm ci in all workflow jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Nov 18, 2021
1 parent 8282bdf commit cc8fa32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm ci
- run: npm run lint
bundlesize:
runs-on: ubuntu-latest
Expand All @@ -67,5 +67,5 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm ci
- run: npx bundlesize
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: node --version
- run: npm install
- run: npm ci
- run: npm run rebuild-docker-image
- run: npm publish
env:
Expand Down

0 comments on commit cc8fa32

Please sign in to comment.