Skip to content

Commit 554d46d

Browse files
committed
ensure that npm is at least v11 before publishing
1 parent 834817d commit 554d46d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish-alpha.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
3838
- run: pnpm install --frozen-lockfile
3939
- run: pnpm build
40+
- run: npm install -g npm@latest
4041

4142
- name: Publish to npm
4243
run: npm publish --tag alpha --access public --provenance

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
3838
- run: pnpm install --frozen-lockfile
3939
- run: pnpm build
40+
- run: npm install -g npm@latest
4041

4142
- name: Publish to npm
4243
env:

0 commit comments

Comments
 (0)