Skip to content

Commit 3bafedb

Browse files
authored
chore: enable staged publishes (#130)
1 parent a6b7a92 commit 3bafedb

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
publish-npm:
2222
needs: build
2323
runs-on: ubuntu-latest
24-
environment: WORLD
2524
permissions:
2625
id-token: write
2726
contents: read
@@ -38,7 +37,7 @@ jobs:
3837
- run: npm version ${TAG_NAME} --git-tag-version=false
3938
env:
4039
TAG_NAME: ${{ github.ref_name }}
41-
- run: npm publish --access public --tag next
40+
- run: npm stage publish --access public --tag next
4241
if: github.event.release.prerelease
43-
- run: npm publish --access public
42+
- run: npm stage publish --access public
4443
if: "!github.event.release.prerelease"

0 commit comments

Comments
 (0)