Skip to content

Commit 32bb0a1

Browse files
committed
change: publishing to npm
1 parent 9547de4 commit 32bb0a1

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,22 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111

12+
permissions:
13+
contents: read
14+
id-token: write
15+
1216
steps:
1317
- name: Checkout
14-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1519

1620
- name: Setup Node
17-
uses: actions/setup-node@v2
21+
uses: actions/setup-node@v4
1822
with:
19-
node-version: '21.x'
23+
node-version: '22.x'
2024
registry-url: 'https://registry.npmjs.org'
2125

2226
- name: Install dependencies and build 🔧
2327
run: npm ci && npm run build
2428

2529
- name: Publish package on NPM 📦
26-
run: npm publish --access public
27-
env:
28-
NODE_AUTH_TOKEN: ${{ secrets.RDS_NPM_TOKEN }}
30+
run: npm publish --access public --provenance

0 commit comments

Comments
 (0)