Skip to content

Commit 60ff034

Browse files
committed
Migrate to NodeJs 24 as 20 is deprecated
1 parent 460a772 commit 60ff034

9 files changed

Lines changed: 32120 additions & 965 deletions

File tree

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"SharedArrayBuffer": "readonly"
1111
},
1212
"parserOptions": {
13-
"ecmaVersion": 2018
13+
"ecmaVersion": 2020,
14+
"sourceType": "module"
1415
},
1516
"rules": {
1617
}

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
runs-on: windows-latest
1616
steps:
1717
- name: Check out source code
18-
uses: actions/checkout@v4
19-
- name: Download Internet
18+
uses: actions/checkout@v6
19+
- name: Download npm packages
2020
run: npm install
2121
- name: Run eslint
2222
run: npm run lint
@@ -61,7 +61,7 @@ jobs:
6161
runs-on: ubuntu-latest
6262
steps:
6363
- name: Check out source code
64-
uses: actions/checkout@v4
64+
uses: actions/checkout@v6
6565
- run: npm install
6666
- run: npm audit --audit-level=moderate --production
6767
- run: npm audit --audit-level=critical
@@ -70,8 +70,8 @@ jobs:
7070
runs-on: windows-latest
7171
steps:
7272
- name: Check out source code
73-
uses: actions/checkout@v4
74-
- name: Download Internet
73+
uses: actions/checkout@v6
74+
- name: Download npm packages
7575
run: npm install
7676
- name: Enable Developer Command Prompt
7777
uses: ./

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Developer Command Prompt
1616
uses: ilammy/msvc-dev-cmd@release/v1
1717
- name: Check out source code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919
- name: Compile and run some C code
2020
shell: cmd
2121
run: |
@@ -26,6 +26,6 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Check out source code
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v6
3030
- run: npm audit --audit-level=moderate --production
3131
- run: npm audit --audit-level=critical

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ inputs:
1515
vsversion:
1616
description: The Visual Studio version to use. This can be the version number (e.g. 16.0 for 2019) or the year (e.g. "2019").
1717
runs:
18-
using: node20
19-
main: index.js
18+
using: node24
19+
main: dist/index.js
2020
branding:
2121
icon: terminal
2222
color: purple

0 commit comments

Comments
 (0)