Skip to content

Commit 4f4b26c

Browse files
committed
edits to enable trusted publishing
1 parent da6dfde commit 4f4b26c

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,20 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
109
- name: Checkout
1110
uses: actions/checkout@v4
1211

1312
- name: Setup Node
1413
uses: actions/setup-node@v4
1514
with:
16-
registry-url: 'https://registry.npmjs.org'
17-
15+
node-version: "24"
16+
registry-url: "https://registry.npmjs.org"
17+
1818
- name: Install dependencies
1919
run: npm install
2020

2121
- name: Create build
2222
run: npm run build
2323

24-
- name: Publish package on NPM 📦
24+
- name: Publish package on NPM 📦
2525
run: npm publish
26-
env:
27-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)