Skip to content

Commit 874b771

Browse files
authored
Update npm-publish workflow configuration
Removed commented out lines and simplified permissions.
1 parent f2af787 commit 874b771

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
needs: build
2828
runs-on: ubuntu-latest
2929
permissions:
30-
id-token: write # for provenance
30+
id-token: write
3131
contents: read
3232
steps:
3333
- uses: actions/checkout@v4
@@ -37,7 +37,4 @@ jobs:
3737
registry-url: https://registry.npmjs.org/
3838
cache: npm
3939
- run: npm ci
40-
# prepublishOnly will run (build + test + typecheck) per your package.json
4140
- run: npm publish --provenance --access public
42-
env:
43-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)