Skip to content

Commit

Permalink
ci: use package-lock.json explicitly when installing npm packages
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Jan 5, 2022
1 parent 4119927 commit d04a03c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

- name: Install NPM Dependencies
run: npm install
run: npm ci

- name: Modify package.json version
run: node .github/version-script.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prereleases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

- name: Install NPM Dependencies
run: npm install
run: npm ci

- name: Modify package.json version
run: node .github/version-script.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pullrequests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

- name: Install NPM Dependencies
run: npm install
run: npm ci

- name: Check for errors
run: npm run check
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

- name: Install NPM Dependencies
run: npm install
run: npm ci

- name: Build
run: npm run build
Expand Down

0 comments on commit d04a03c

Please sign in to comment.