File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -22,23 +22,22 @@ jobs:
2222 runs-on : ubuntu-latest
2323 steps :
2424 - name : Checkout
25- uses : actions/checkout@v3
25+ uses : actions/checkout@v4
2626 - name : Setup Node.js
27- uses : actions/setup-node@v3
27+ uses : actions/setup-node@v4
2828 with :
29- node-version : 14
29+ node-version : 22 # Required for the latest semantic-release plugins
3030 - name : Semantic Release
31- uses : cycjimmy/semantic-release-action@v3
31+ uses : cycjimmy/semantic-release-action@v4 # Update to v4 for better Node 20+ support
3232 id : semantic
3333 with :
3434 extra_plugins : |
3535 @semantic-release/changelog
3636 @semantic-release/git
3737 @semantic-release/github
3838 env :
39- GITHUB_TOKEN : " ${{ secrets.GITHUB }}"
39+ GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}" # Use the built-in token if possible
4040 NPM_TOKEN : " ${{ secrets.NPM_TOKEN }}"
4141 outputs :
4242 new_release_published : " ${{ steps.semantic.outputs.new_release_published }}"
4343 new_release_version : " ${{ steps.semantic.outputs.new_release_version }}"
44-
You can’t perform that action at this time.
0 commit comments