We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed20d19 commit 358a91dCopy full SHA for 358a91d
.github/workflows/publish-on-release.yml
@@ -4,6 +4,11 @@ on:
4
release:
5
types: [published]
6
7
+# https://docs.npmjs.com/trusted-publishers#step-2-configure-your-cicd-workflow
8
+permissions:
9
+ id-token: write # to enable use of OIDC for npm provenance
10
+ contents: read # to enable reading the contents of the release for publishing
11
+
12
jobs:
13
build:
14
name: Build Vanilla
@@ -32,10 +37,6 @@ jobs:
32
37
name: Publish to NPM
33
38
needs: build
34
39
runs-on: ubuntu-latest
35
- # https://docs.npmjs.com/trusted-publishers#step-2-configure-your-cicd-workflow
36
- permissions:
- contents: read # to enable reading the contents of the release for publishing
- id-token: write # to enable use of OIDC for npm provenance
40
steps:
41
- uses: actions/checkout@v6
42
- uses: actions/setup-node@v6
0 commit comments