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 4242 os : [ubuntu-latest]
4343 node : [18, 20]
4444 runs-on : ${{ matrix.os }}
45+ permissions :
46+ contents : write # to be able to publish a GitHub release
47+ issues : write # to be able to comment on released issues
48+ pull-requests : write # to be able to comment on released pull requests
49+ id-token : write # to enable use of OIDC for npm provenance
4550 steps :
4651 - name : Checkout
4752 uses : actions/checkout@v3
5661 - run : pnpm build
5762 - run : pnpm test
5863 - name : Maybe Release
59- if : matrix.os == 'ubuntu-latest' && matrix.node == 18 && github.event_name == 'push' && github.ref == 'refs/heads/main'
64+ if : matrix.os == 'ubuntu-latest' && matrix.node == 20 && github.event_name == 'push' && github.ref == 'refs/heads/main'
6065 env :
6166 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6267 NPM_TOKEN : ${{ secrets.NPM_TOKEN_ELEVATED }}
63- run : pnpm dlx semantic-release@19.0.5
68+ NPM_CONFIG_PROVENANCE : ' true'
69+ run : pnpm dlx semantic-release@24.2.3
Original file line number Diff line number Diff line change 11shell-emulator = true
2+ provenance = true
You can’t perform that action at this time.
0 commit comments