Skip to content

Commit 6222edb

Browse files
committed
ci: use npm ci everywhere to use the lock file stricly
1 parent c6b3af6 commit 6222edb

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/bundle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
node-version: "22"
1818
package-manager-cache: false
19-
- run: npm install
19+
- run: npm ci
2020
- run: npx update-browserslist-db@latest
2121
- run: npx nx bundle web-component
2222
- name: Create Pull Request

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/setup-node@v6
1919
with:
2020
node-version: "22"
21-
- run: npm install
21+
- run: npm ci
2222
- run: npx update-browserslist-db@latest
2323
- name: Build web-component
2424
run: |

.github/workflows/dev-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/setup-node@v6
2020
with:
2121
node-version: "22"
22-
- run: npm install
22+
- run: npm ci
2323
- run: npx update-browserslist-db@latest
2424
- name: Build web-component
2525
run: |

.github/workflows/pr-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install
2727
if: github.event.action != 'closed'
2828
run: |
29-
npm install
29+
npm ci
3030
- name: Always preview with the latest browserslist db
3131
if: github.event.action != 'closed'
3232
run: |

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
package-manager-cache: false
3838
- name: Update npm to latest version for OIDC/Trusted Publishing support
3939
run: npm install -g npm@latest
40-
- run: npm install
40+
- run: npm ci
4141
- run: npx update-browserslist-db@latest
4242
- name: Build and bundle
4343
run: |

.github/workflows/windows-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/setup-node@v6
1717
with:
1818
node-version: 22
19-
- run: npm install --verbose
19+
- run: npm ci --verbose
2020
- run: npx update-browserslist-db@latest
2121
- name: Ng test for studio-web
2222
run: |

0 commit comments

Comments
 (0)