File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1616 if : github.event_name == 'push' && github.ref == 'refs/heads/main' || github.event_name == 'pull_request'
1717 strategy :
1818 matrix :
19- node : ["18 .x", "20 .x", "22 .x"]
19+ node : ["20 .x", "22 .x", "24 .x"]
2020 os : [ubuntu-latest, windows-latest, macOS-latest]
2121 runs-on : ${{ matrix.os }}
2222 env :
7676 timeout-minutes : 15
7777 runs-on : ubuntu-latest
7878 if : github.event_name == 'push' && github.ref == 'refs/heads/main' && github.event.pull_request.draft == false
79+ permissions :
80+ id-token : write
81+ contents : read
7982 needs : validate
8083 steps :
8184 - name : Checkout repo
9699 version : pnpm publish:version
97100 env :
98101 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
99- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
100- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
102+ NPM_TOKEN : ' '
103+ NPM_CONFIG_PROVENANCE : true
Original file line number Diff line number Diff line change 6868 "pnpm" : " >=9.0.2"
6969 },
7070 "publishConfig" : {
71- "access" : " public"
71+ "access" : " public" ,
72+ "provenance" : true
7273 }
7374}
You can’t perform that action at this time.
0 commit comments