Skip to content

Commit 934cd70

Browse files
committed
ci: use npm ci instead of npm install for not altering package lock in ci
1 parent 2ae0198 commit 934cd70

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build_verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v3
1515
- name: Npm Install
1616
run: |
17-
npm install
17+
npm ci
1818
- name: eslint using npm run eslint
1919
run: |
2020
npm run lint

.github/workflows/create-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- name: Npm Install
1313
run: |
14-
npm install
14+
npm ci
1515
- name: Verifying release artifact build
1616
run: |
1717
npm run release:prod

.github/workflows/dev-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- name: Npm Install
1313
run: |
14-
npm install
14+
npm ci
1515
- name: Verifying release artifact build
1616
run: |
1717
npm run release:dev

.github/workflows/patch-version-bump.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
ref: main
1414
- name: Bump patch version
1515
run: |
16-
npm install
16+
npm ci
1717
npm run patchVersionBump
1818
git status
1919
phoenix_version=`node -p "require('./package.json').apiVersion"`

.github/workflows/prod-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- name: Npm Install
1313
run: |
14-
npm install
14+
npm ci
1515
- name: Verifying release artifact build
1616
run: |
1717
npm run release:prod

.github/workflows/staging-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- name: Npm Install
1313
run: |
14-
npm install
14+
npm ci
1515
- name: Verifying release artifact build
1616
run: |
1717
npm run release:staging

.github/workflows/tranlate-languages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
GCP_API_KEY: ${{ secrets.GCP_API_KEY }}
1515
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
1616
run: |
17-
npm install
17+
npm ci
1818
npm run translateStrings
1919
ls -al docs
2020
shell: bash

.github/workflows/update-wiki-api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
pwd
1717
ls -al
1818
cd phoenixSrc
19-
npm install
19+
npm ci
2020
npm run build
2121
ls -al docs
2222
shell: bash

0 commit comments

Comments
 (0)