Skip to content

Commit 483e23c

Browse files
committed
Update publishing environment
1 parent 2809ebb commit 483e23c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/npm.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
permissions:
99
id-token: write # Required for OIDC
1010
contents: write
11+
environment: release
1112
runs-on: ubuntu-latest
1213
steps:
1314
- uses: actions/checkout@v4
@@ -17,5 +18,5 @@ jobs:
1718
registry-url: 'https://registry.npmjs.org'
1819
- run: yarn
1920
- run: yarn build
20-
- run: npm publish --access public
21+
- run: yarn npm publish --access public
2122

0 commit comments

Comments
 (0)