Skip to content

Commit 004ff06

Browse files
committed
ci: Use npm ci instead of npm install
1 parent 93a740c commit 004ff06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Create release build
4242
if: ${{ inputs.release }}
4343
run: |
44-
npm install
44+
npm ci
4545
npm run build
4646
env:
4747
NODE_ENV: production
@@ -53,7 +53,7 @@ jobs:
5353
git fetch origin build
5454
git switch build
5555
git merge ${GITHUB_REF#refs/heads/}
56-
npm install
56+
npm ci
5757
npm run build
5858
- name: Push to GitHub
5959
uses: EndBug/add-and-commit@v9

0 commit comments

Comments
 (0)