File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 88 issues : write
99 steps :
1010 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
11+ with :
12+ fetch-depth : 0
13+ ref : main
1114 - name : Set git config safe.directory
1215 run : git config --global --add safe.directory "$(pwd)"
1316 - name : Set git identity
5760 permissions :
5861 contents : read
5962 issues : write
60- id-token : write # Required for provenance & Trusted Publishing.
63+ id-token : write # Required for Trusted Publishing.
6164 steps :
6265 - uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903
6366 with :
7174 - name : Restore build artifact permissions
7275 run : cd dist && setfacl --restore=permissions-backup.acl
7376 continue-on-error : true
74- - name : Install dependencies
75- run : npm ci
76- - name : Publish to npm with provenance
77+ - name : Publish to npm
7778 env :
78- NPM_CONFIG_PROVENANCE : true
79+ NPM_TRUSTED_PUBLISHER : true
7980 run : npx -p publib@latest publib-npm
8081 release_maven :
8182 name : Publish to Maven Central
You can’t perform that action at this time.
0 commit comments