Skip to content

Commit 95e6472

Browse files
committed
Update GitHub actions to the latest version
This includes the update of the Node.js version used. The action `GabrielBB/xvfb-action` is deprecated and is no longer needed.
1 parent cf840ea commit 95e6472

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

.github/workflows/main.yml

+8-11
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,23 @@ jobs:
99
os: [macos-latest, ubuntu-latest, windows-latest]
1010
runs-on: ${{matrix.os}}
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-node@v3
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 16
15+
node-version: 20
1616
- run: npm install
17-
- name: test
18-
uses: GabrielBB/[email protected]
19-
with:
20-
run: npm test
17+
- run: xvfb-run npm test
2118

2219
package:
2320
runs-on: ubuntu-latest
2421
steps:
25-
- uses: actions/checkout@v3
26-
- uses: actions/setup-node@v3
22+
- uses: actions/checkout@v4
23+
- uses: actions/setup-node@v4
2724
with:
28-
node-version: 16
25+
node-version: 20
2926
- run: npm install
3027
- run: npx vsce package
31-
- uses: actions/upload-artifact@v3
28+
- uses: actions/upload-artifact@v4
3229
with:
3330
name: vscode-remark.vsix
3431
path: '*.vsix'

.github/workflows/publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
1313
with:
14-
node-version: 16
14+
node-version: 20
1515
- run: npm install
1616
- run: npx vsce package
1717
- run: npx vsce publish --packagePath *.vsix

0 commit comments

Comments
 (0)