Skip to content

Commit 83aef23

Browse files
committed
ci: use the latest version of npm in all workflows
1 parent f243980 commit 83aef23

6 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/bundle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
with:
1717
node-version: "22"
1818
package-manager-cache: false
19+
- run: npm install -g npm@latest
1920
- run: npm ci
2021
- run: npx update-browserslist-db@latest
2122
- run: npx nx bundle web-component

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- uses: actions/setup-node@v6
1919
with:
2020
node-version: "22"
21+
- run: npm install -g npm@latest
2122
- run: npm ci
2223
- run: npx update-browserslist-db@latest
2324
- name: Build web-component

.github/workflows/dev-preview.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- uses: actions/setup-node@v6
2020
with:
2121
node-version: "22"
22+
- run: npm install -g npm@latest
2223
- run: npm ci
2324
- run: npx update-browserslist-db@latest
2425
- name: Build web-component

.github/workflows/end-to-end-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/setup-node@v6
2121
with:
2222
node-version: 22
23-
23+
- run: npm install -g npm@latest
2424
- name: Install everything
2525
run: npm ci
2626

@@ -82,6 +82,7 @@ jobs:
8282
- uses: actions/setup-node@v6
8383
with:
8484
node-version: lts/*
85+
- run: npm install -g npm@latest
8586

8687
- name: Install and run the back-end API
8788
run: |

.github/workflows/pr-preview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
- uses: actions/setup-node@v6
2424
with:
2525
node-version: "22"
26+
- run: npm install -g npm@latest
27+
if: github.event.action != 'closed'
2628
- name: Install
2729
if: github.event.action != 'closed'
2830
run: |

.github/workflows/windows-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- uses: actions/setup-node@v6
1717
with:
1818
node-version: 22
19+
- run: npm install -g npm@latest
1920
- run: npm ci --verbose
2021
- run: npx update-browserslist-db@latest
2122
- name: Ng test for studio-web

0 commit comments

Comments
 (0)