Skip to content

Commit 32426d0

Browse files
committed
CI
1 parent 2481437 commit 32426d0

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/publish.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@ name: Publish
22

33
on: push
44

5+
permissions:
6+
contents: read
7+
id-token: write
8+
59
jobs:
610
publish:
711
runs-on: ubuntu-latest
812
steps:
9-
- uses: actions/checkout@v1
10-
- uses: actions/setup-node@v1
11-
with:
12-
node-version: 10
13-
- uses: JS-DevTools/npm-publish@v1
14-
with:
15-
token: ${{ secrets.NPM_TOKEN }}
13+
- uses: actions/checkout@v6
1614

15+
- uses: actions/setup-node@v6
16+
with:
17+
node-version: '24'
18+
registry-url: 'https://registry.npmjs.org'
19+
- run: npm install
20+
- run: npm publish

0 commit comments

Comments
 (0)