88 name : Build the node-package
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v4
11+ - uses : actions/checkout@v6
1212 with :
1313 filter : blob:limit=2m
14- - uses : actions/setup-node@v4
14+ - uses : actions/setup-node@v6
1515 with :
16- node-version : " 18 "
16+ node-version : " 20 "
1717 - name : Install Yarn with Corepack
1818 run : corepack enable |
1919 corepack prepare yarn@stable --activate
2020
21- - run : yarn install
21+ - run : yarn install --immutable --immutable-cache
2222 - run : yarn pack
23- - uses : actions/upload-artifact@v4
23+ - uses : actions/upload-artifact@v5
2424 with :
2525 name : node-package
2626 path : package.tgz
@@ -33,17 +33,15 @@ jobs:
3333 runs-on : ubuntu-latest
3434 needs : [build-package]
3535 steps :
36- - uses : actions/setup-node@v4
36+ - uses : actions/setup-node@v6
3737 with :
38- node-version : " 18 "
38+ node-version : " 24 "
3939 registry-url : " https://registry.npmjs.org"
4040 - name : Download the build artifacts
41- uses : actions/download-artifact@v4
41+ uses : actions/download-artifact@v5
4242 with :
4343 name : node-package
4444 - run : npm publish "${{ github.workspace }}/package.tgz" --access public --provenance
45- env :
46- NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
4745
4846 create-release :
4947 name : Create the GitHub Release
@@ -53,12 +51,12 @@ jobs:
5351 needs : [build-package]
5452 steps :
5553 - name : Download the build artifacts
56- uses : actions/download-artifact@v4
54+ uses : actions/download-artifact@v5
5755 with :
5856 name : node-package
5957 path : ${{ github.workspace }}/dist/
6058 - name : Create the release draft with the build artifacts
61- uses : softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda
59+ uses : softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe
6260 with :
6361 draft : true
6462 files : ${{ github.workspace }}/dist/*
0 commit comments