Skip to content

Commit 712caff

Browse files
committed
add environment to workflow
1 parent b9474aa commit 712caff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
npm-publish:
1111
name: Publish to NPM & GitHub Package Registry
1212
runs-on: ubuntu-latest
13+
# Required for this workflow to have permission to publish NPM packages
14+
environment: release
1315
permissions:
1416
contents: read
1517
packages: write

0 commit comments

Comments
 (0)