File tree 2 files changed +14
-14
lines changed
2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 9
9
os : [macos-latest, ubuntu-latest, windows-latest]
10
10
runs-on : ${{matrix.os}}
11
11
steps :
12
- - uses : actions/checkout@v3
13
- - uses : actions/setup-node@v3
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-node@v4
14
14
with :
15
- node-version : 16
15
+ node-version : 20
16
16
- run : npm install
17
- - name : test
18
-
19
- with :
20
- run : npm test
17
+ - run : npm test
18
+ if : ${{matrix.os!='ubuntu-latest'}}
19
+ - run : xvfb-run npm test
20
+ if : ${{matrix.os=='ubuntu-latest'}}
21
21
22
22
package :
23
23
runs-on : ubuntu-latest
24
24
steps :
25
- - uses : actions/checkout@v3
26
- - uses : actions/setup-node@v3
25
+ - uses : actions/checkout@v4
26
+ - uses : actions/setup-node@v4
27
27
with :
28
- node-version : 16
28
+ node-version : 20
29
29
- run : npm install
30
30
- run : npx vsce package
31
- - uses : actions/upload-artifact@v3
31
+ - uses : actions/upload-artifact@v4
32
32
with :
33
33
name : vscode-remark.vsix
34
34
path : ' *.vsix'
Original file line number Diff line number Diff line change 8
8
publish :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v3
12
- - uses : actions/setup-node@v3
11
+ - uses : actions/checkout@v4
12
+ - uses : actions/setup-node@v4
13
13
with :
14
- node-version : 16
14
+ node-version : 20
15
15
- run : npm install
16
16
- run : npx vsce package
17
17
- run : npx vsce publish --packagePath *.vsix
You can’t perform that action at this time.
0 commit comments