Skip to content

Commit

Permalink
use npm ci in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
doitian committed Sep 23, 2022
1 parent aa1fbfc commit b0d69e3
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.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: "14.x"
node-version: "16.x"
cache: "npm"
cache-dependency-path: package-lock.json

- name: Build
run: |
npm install
npm ci
npm run build --if-present
- name: Lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

- name: Build
run: |
npm install
npm ci
npm run build --if-present
- name: Package
Expand Down

0 comments on commit b0d69e3

Please sign in to comment.