Skip to content

Commit 72a5657

Browse files
Merge pull request #186 from vmware/update-node-version-for-jobs
[build] Update Node version in all jobs
2 parents 0ba1fd5 + 214e0da commit 72a5657

4 files changed

Lines changed: 20 additions & 20 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,24 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
node-version: [19.6.0]
24+
node-version: [22.13.1]
2525
os: [ubuntu-latest]
2626
runs-on: ${{ matrix.os }}
2727
env:
2828
CI: true
2929
steps:
30-
- uses: actions/checkout@v2
30+
- uses: actions/checkout@v6
3131

3232
- name: echo github.ref
3333
run: echo ${{ github.ref }}
3434

3535
- name: Use Node.js ${{ matrix.node-version }}
36-
uses: actions/setup-node@v2
36+
uses: actions/setup-node@v6
3737
with:
3838
node-version: ${{ matrix.node-version }}
3939

40-
- name: Install NPM 9.4.0
41-
run: npm install -g npm@9.4.0 # lock to 9.4.0 until actions/setup-node#411 and npm/cli#4341 are fixed
40+
- name: Install latest npm version
41+
run: npm install -g npm
4242

4343
- name: Set version number of package.json and build artifact
4444
id: version_step

.github/workflows/draft-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ jobs:
1717
env:
1818
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v6
2121
with:
2222
fetch-depth: 0
2323

2424
- name: echo github.ref
2525
run: echo ${{ github.ref }}
2626

27-
- name: Use Node.js 19.6.0
28-
uses: actions/setup-node@v2
27+
- name: Use Node.js 22.13.1
28+
uses: actions/setup-node@v6
2929
with:
30-
node-version: 19.6.0
30+
node-version: 22.13.1
3131

32-
- name: Use NPM 9.4.0
33-
run: npm install -g npm@9.4.0 # lock to 9.4.0 until actions/setup-node#411 and npm/cli#4341 are fixed
32+
- name: Install latest npm version
33+
run: npm install -g npm
3434

3535
- name: Get version number
3636
id: version_step

.github/workflows/lint-pr.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
name: eslint
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v6
1818

19-
- name: Use Node.js 16
20-
uses: actions/setup-node@v2
19+
- name: Use Node.js 22
20+
uses: actions/setup-node@v6
2121
with:
22-
node-version: 16.x
22+
node-version: 22
2323

24-
- name: Use NPM 8
25-
run: npm install -g npm@8.3.1 # lock to 8.3.1 until actions/setup-node#411 and npm/cli#4341 are fixed
24+
- name: Install latest npm version
25+
run: npm install -g npm
2626

2727
- name: reviewdog
2828
uses: reviewdog/action-eslint@9b5b0150e399e1f007ee3c27bc156549810a64e3 # v1.33.0

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
name: Publish to Visual Studio Marketplace and GitHub Packages
1515
runs-on: ubuntu-latest
1616
steps:
17-
- name: Use Node.js 19.6.0
18-
uses: actions/setup-node@v2
17+
- name: Use Node.js 22.13.1
18+
uses: actions/setup-node@v6
1919
with:
20-
node-version: 19.6.0
20+
node-version: 22.13.1
2121

2222
- name: Install vsce
2323
run: npm install -g vsce

0 commit comments

Comments
 (0)