Skip to content

Commit 81f68d3

Browse files
committed
removed-secret-to-enable-trusted-publishing
1 parent 696310d commit 81f68d3

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on:
44
types: [created]
55

66
permissions:
7-
contents: read # we need to read secrets
7+
contents: read # we need to read secrets
88
id-token: write
9-
9+
1010
jobs:
1111
build:
1212
runs-on: ubuntu-latest
@@ -16,8 +16,6 @@ jobs:
1616
- name: Setup Node
1717
uses: actions/setup-node@v6
1818
with:
19-
registry-url: 'https://registry.npmjs.org'
19+
registry-url: "https://registry.npmjs.org"
2020
- name: Publish package on NPM 📦
2121
run: npm publish --access public
22-
env:
23-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)