File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575 runs-on : ubuntu-latest
7676 needs : unit-test
7777 if : github.ref == 'refs/heads/master' || github.ref == 'refs/heads/beta'
78+ permissions :
79+ contents : write # to be able to publish a GitHub release
80+ issues : write # to be able to comment on released issues
81+ pull-requests : write # to be able to comment on released pull requests
82+ id-token : write # to enable use of OIDC for trusted publishing and npm provenance
7883 steps :
7984 - name : Checkout
8085 uses : actions/checkout@v4
8388 with :
8489 node-version : 22
8590
91+ - name : Update npm # Trusted Publishing requires npm >=11.5.1
92+ run : npm i -g npm@latest
93+
8694 - name : Restore cache
8795 uses : actions/cache@v4
8896 with :
96104 run : yarn semantic-release
97105 env :
98106 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
99- NPM_TOKEN : ${{ secrets.NPM_PUBLISHING_TOKEN }}
Original file line number Diff line number Diff line change 3838 "expect-type" : " ^0.18.0" ,
3939 "jest" : " ^29.7.0" ,
4040 "nyc" : " ^15.1.0" ,
41- "semantic-release" : " ^19 .0.5 " ,
41+ "semantic-release" : " ^25 .0.3 " ,
4242 "ts-jest" : " 29.1.1" ,
4343 "ts-node" : " ^10.9.2" ,
4444 "tsconfig-paths" : " ^4.2.0" ,
You can’t perform that action at this time.
0 commit comments