Skip to content

Commit 2de0216

Browse files
committed
Update npm in GitHub Actions
1 parent 9035225 commit 2de0216

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
uses: actions/setup-node@v3
3434
with:
3535
node-version: ${{ matrix.node-version }}
36+
- run: npm install -g npm@latest
3637
- run: npm ci
3738
- run: npm run build --if-present
3839
- if: ${{ matrix.browser }}

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
uses: actions/setup-node@v3
3232
with:
3333
node-version: ${{ matrix.node-version }}
34+
- run: npm install -g npm@latest
3435
- run: npm ci
3536
- run: npm run build --if-present
3637
- if: ${{ matrix.browser }}

0 commit comments

Comments
 (0)