Skip to content

Commit 95833c6

Browse files
committed
ci: update workflow
1 parent 404f784 commit 95833c6

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/publish.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,28 @@ on:
44
workflow_dispatch:
55
inputs:
66
bump:
7-
description: 'Version bump type'
7+
description: "Version bump type"
88
required: false
9-
default: 'patch'
9+
default: "patch"
10+
11+
permissions:
12+
id-token: write
13+
contents: read
1014

1115
jobs:
1216
publish:
1317
runs-on: ubuntu-latest
1418
steps:
1519
- uses: actions/checkout@v4
16-
20+
1721
- uses: actions/setup-node@v4
1822
with:
19-
node-version: '20'
20-
registry-url: 'https://registry.npmjs.org'
21-
23+
node-version: "24"
24+
registry-url: "https://registry.npmjs.org"
25+
2226
- run: npm install
23-
27+
2428
- run: npm publish --access public
2529
env:
2630
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31+
NPM_CONFIG_PROVENANCE: false

0 commit comments

Comments
 (0)