We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67f89ef commit a7816baCopy full SHA for a7816ba
1 file changed
.github/workflows/publish.yml
@@ -4,18 +4,22 @@ on:
4
push:
5
tags:
6
- 'v*' # only run if new tag is pushed
7
+
8
+permissions:
9
+ id-token: write # Required for OIDC
10
+ contents: read
11
12
jobs:
13
test:
14
runs-on: ubuntu-latest
15
steps:
- - uses: actions/checkout@v4
16
+ - uses: actions/checkout@v6
17
- name: Install Node
- uses: actions/setup-node@v4
18
+ uses: actions/setup-node@v6
19
with:
- node-version: 20
20
+ node-version: 24
21
+ registry-url: 'https://registry.npmjs.org'
22
- name: Install dependencies and build
23
run: yarn
- - uses: JS-DevTools/npm-publish@v3
- with:
- token: ${{ secrets.NPM_TOKEN }}
- strategy: all # will publish any version that does not yet exist in the registry
24
+ - name: Publish to NPM
25
+ run: yarn publish --non-interactive
0 commit comments