File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 7
7
8
8
permissions :
9
9
contents : read
10
+ id-token : write # Required for provenance
11
+ packages : write # Required for publishing
10
12
11
13
# Ensure scripts are run with pipefail. See:
12
14
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
60
62
npx hereby configure-insiders
61
63
npx hereby LKG
62
64
node ./scripts/addPackageJsonGitHead.mjs package.json
63
- npm publish --tag insiders
65
+ npm publish --provenance -- tag insiders
64
66
env :
65
67
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
Original file line number Diff line number Diff line change 8
8
9
9
permissions :
10
10
contents : read
11
+ id-token : write # Required for provenance
12
+ packages : write # Required for publishing
11
13
12
14
# Ensure scripts are run with pipefail. See:
13
15
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
60
62
npx hereby configure-nightly
61
63
npx hereby LKG
62
64
node ./scripts/addPackageJsonGitHead.mjs package.json
63
- npm publish --tag next
65
+ npm publish --provenance -- tag next
64
66
env :
65
67
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
You can’t perform that action at this time.
0 commit comments