Skip to content

Commit 9bdfe0e

Browse files
committed
Test dry-run with OIDC
1 parent e989284 commit 9bdfe0e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/validate.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
jobs:
99
validate:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
id-token: write
1114
steps:
1215
- uses: actions/checkout@v4
1316

@@ -21,5 +24,5 @@ jobs:
2124
- name: Build /dist
2225
run: npm run build
2326

24-
- name: Validate npm package (dry-run)
25-
run: npm publish --dry-run
27+
- name: Validate npm package (dry-run with OIDC)
28+
run: npm publish --provenance --access public --dry-run

0 commit comments

Comments
 (0)