File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 14
14
node-version : ' 20'
15
15
- uses : actions/checkout@v2
16
16
17
- - run : npm install
17
+ - run : npm ci
18
18
19
19
- run : npm install -g vsce ovsx
20
20
Original file line number Diff line number Diff line change 1
1
name : NodeJS with Webpack
2
2
3
- on :
4
- push :
5
- branches : [ "main" ]
6
- pull_request :
7
- branches : [ "main" ]
3
+ on : pull_request
8
4
9
5
jobs :
10
6
build :
22
18
with :
23
19
node-version : ${{ matrix.node-version }}
24
20
21
+ - name : Install dependencies
22
+ run : npm ci
23
+
24
+ - name : Type check
25
+ run : npm run typings
26
+
25
27
- name : Build and package
26
28
run : |
27
- npm install
28
29
npx webpack
29
30
npm install -g vsce
30
31
vsce package
49
50
body-includes : new build is available
50
51
51
52
- name : Post comment
53
+ continue-on-error : true
52
54
if : steps.fc.outputs.comment-id == ''
53
55
uses : actions/github-script@v5
54
56
with :
61
63
})
62
64
63
65
- name : Update comment
66
+ continue-on-error : true
64
67
if : steps.fc.outputs.comment-id != ''
65
68
uses : peter-evans/create-or-update-comment@v1
66
69
with :
You can’t perform that action at this time.
0 commit comments