File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11name : Test & Maybe Release
2- permissions :
3- contents : write
42on : [push, pull_request]
53jobs :
64 test :
4745 npm run test:ci
4846 release :
4947 name : Release
48+ permissions :
49+ contents : write
50+ id-token : write
5051 needs : test
5152 runs-on : ubuntu-latest
5253 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
5960 uses : actions/setup-node@v6.2.0
6061 with :
6162 node-version : lts/*
63+ registry-url : ' https://registry.npmjs.org'
6264 - name : Install dependencies
6365 run : |
6466 npm install --no-progress --no-package-lock --no-save
7981 - name : Release
8082 env :
8183 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
82- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
84+ NPM_CONFIG_PROVENANCE : true
8385 run : npx semantic-release
8486
You can’t perform that action at this time.
0 commit comments