File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1111 release :
1212 name : Release
1313 runs-on : ubuntu-latest
14+ permissions :
15+ contents : write
16+ pull-requests : write
17+ id-token : write
1418 steps :
1519 - name : Checkout Repo
1620 uses : actions/checkout@v4
2832 with :
2933 node-version : 20.x
3034 cache : ' pnpm'
35+ registry-url : ' https://registry.npmjs.org'
36+
37+ - name : Update npm to latest
38+ run : npm install -g npm@latest
3139
3240 - name : Install Dependencies
3341 run : pnpm install --frozen-lockfile
4351 publish : pnpm ci:publish
4452 env :
4553 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1010 "format" : " prettier --write ." ,
1111 "format:check" : " prettier --check ." ,
1212 "ci:version" : " changeset version && pnpm install --no-frozen-lockfile" ,
13- "ci:publish" : " pnpm publish -r && changeset tag"
13+ "ci:publish" : " pnpm publish -r --provenance && changeset tag"
1414 },
1515 "pnpm" : {
1616 "onlyBuiltDependencies" : [
You can’t perform that action at this time.
0 commit comments