Skip to content

Commit ad47986

Browse files
committed
fix(ci): use latest Node.js and vsce command
1 parent 9f47903 commit ad47986

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,17 @@ on:
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
12-
strategy:
13-
matrix:
14-
node-version: ["18", "latest"]
1512
steps:
1613
- name: Check out the repository
1714
uses: actions/checkout@v4
1815

1916
- name: Install xvfb for headless browser testing
2017
run: sudo apt-get install -y xvfb
2118

22-
- name: Setup Node.js (${{ matrix.node-version }})
19+
- name: Setup Node.js
2320
uses: actions/setup-node@v4
2421
with:
25-
node-version: ${{ matrix.node-version }}
22+
node-version: "lts/*"
2623

2724
- run: npm ci
2825
- run: xvfb-run npm run test
@@ -37,10 +34,10 @@ jobs:
3734
- name: Setup Node.js
3835
uses: actions/setup-node@v4
3936
with:
40-
node-version: 18
37+
node-version: "lts/*"
4138

4239
- run: npm ci
43-
- run: npm install --global vsce
40+
- run: npm install --global @vscode/vsce
4441
- run: vsce package -o ./dist
4542
- uses: actions/upload-artifact@v4
4643
with:
@@ -70,7 +67,7 @@ jobs:
7067
- name: Setup Node.js
7168
uses: actions/setup-node@v4
7269
with:
73-
node-version: 18
70+
node-version: "lts/*"
7471

7572
- name: Install dependencies
7673
run: npm ci

0 commit comments

Comments
 (0)