2525 version : ${{ steps.set-version.outputs.version }}
2626 taggedbranch : ${{ steps.find-branch.outputs.taggedbranch }}
2727 steps :
28- - uses : actions/checkout@v3
28+ - uses : actions/checkout@v6
2929 - run : git fetch --depth=1 origin +refs/tags/*:refs/tags/*
3030 - name : Find which branch the release tag points at
3131 id : find-branch
@@ -58,19 +58,17 @@ jobs:
5858 echo $VERSION > .version
5959 echo $NAME > .name
6060 - name : Use Node.js
61- uses : actions/setup-node@v3
61+ uses : actions/setup-node@v6
6262 with :
63- node-version : 20
63+ node-version : 24
6464 - run : npm install
6565 - run : npm run compile
6666 - name : npm test
67- uses : coactions/setup-xvfb@v1
68- with :
69- run : npm run test
67+ run : xvfb-run npm test
7068 - name : Build pre-release package
7169 run : |
7270 npx vsce package --pre-release -o ${{ steps.set-version.outputs.name }}.vsix --githubBranch prerelease
73- - uses : actions/upload-artifact@v4.4.2
71+ - uses : actions/upload-artifact@v6
7472 if : github.event_name != 'release'
7573 with :
7674 name : ${{ steps.set-version.outputs.name }}.vsix
8078 runs-on : ubuntu-latest
8179 needs : build
8280 steps :
83- - uses : actions/download-artifact@v4.1.7
81+ - uses : actions/download-artifact@v6
8482 with :
8583 name : ${{ needs.build.outputs.name }}.vsix
8684 - name : Create Pre-Release
@@ -99,14 +97,14 @@ jobs:
9997 if : github.event_name == 'release' && needs.build.outputs.taggedbranch == 'prerelease'
10098 runs-on : ubuntu-latest
10199 steps :
102- - uses : actions/checkout@v3
100+ - uses : actions/checkout@v6
103101 with :
104102 ref : prerelease
105103 token : ${{ secrets.TOKEN }}
106104 - name : Use Node.js
107- uses : actions/setup-node@v3
105+ uses : actions/setup-node@v6
108106 with :
109- node-version : 20
107+ node-version : 24
110108 - name : Prepare pre-release build
111109 id : set-version
112110 shell : bash
0 commit comments