File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 66 # e.g. "12.x" or "8.x"
77 - ' [0-9]+.x'
88 - ' main'
9- - ' next'
10- - ' next-major'
119 - ' beta'
1210 - ' alpha'
1311 - ' !all-contributors/**'
2927 # Otherwise we would not know if the problem is tied to the Node.js version
3028 fail-fast : false
3129 matrix :
32- node : [18, 20 ]
30+ node : [18, 24 ]
3331 runs-on : ubuntu-latest
3432 steps :
3533 - name : ⬇️ Checkout repo
6361 token : ${{ secrets.CODECOV_TOKEN }} # required
6462
6563 release :
64+ environment : production
6665 permissions :
66+ id-token : write # Required for OIDC
6767 contents : write # to create release tags (cycjimmy/semantic-release-action)
6868 issues : write # to post release that resolves an issue
6969
7979 - name : ⎔ Setup node
8080 uses : actions/setup-node@v3
8181 with :
82- node-version : 18
82+ node-version : 24
8383
8484 - name : 📥 Download deps
8585 uses : bahmutov/npm-install@v1
@@ -90,18 +90,15 @@ jobs:
9090 run : npm run build
9191
9292 - name : 🚀 Release
93- uses : cycjimmy/semantic-release-action@v2
93+ uses : cycjimmy/semantic-release-action@v5
9494 with :
95- semantic_version : 17
95+ semantic_version : 25
9696 branches : |
9797 [
9898 '+([0-9])?(.{+([0-9]),x}).x',
9999 'main',
100- 'next',
101- 'next-major',
102100 {name: 'beta', prerelease: true},
103101 {name: 'alpha', prerelease: true}
104102 ]
105103 env :
106104 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
107- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments