Skip to content

Commit 053d80f

Browse files
authored
Merge pull request #5 from noboru-i/release-workflow-update
Release Workflow Update
2 parents a1c7e88 + 502dbfa commit 053d80f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
id-token: write
1114

1215
steps:
1316
- name: Checkout code
@@ -17,12 +20,13 @@ jobs:
1720
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1821
with:
1922
node-version: '20'
23+
registry-url: 'https://registry.npmjs.org'
2024
cache: 'npm'
2125

2226
- name: Install dependencies
2327
run: npm ci
2428

2529
- name: Publish package
26-
run: npm publish
30+
run: npm publish --provenance
2731
env:
2832
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)