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 1414 node-version : ' 20'
1515 - uses : actions/checkout@v2
1616
17- - run : npm install
17+ - run : npm ci
1818
1919 - run : npm install -g vsce ovsx
2020
Original file line number Diff line number Diff line change 11name : NodeJS with Webpack
22
3- on :
4- push :
5- branches : [ "main" ]
6- pull_request :
7- branches : [ "main" ]
3+ on : pull_request
84
95jobs :
106 build :
2218 with :
2319 node-version : ${{ matrix.node-version }}
2420
21+ - name : Install dependencies
22+ run : npm ci
23+
24+ - name : Type check
25+ run : npm run typings
26+
2527 - name : Build and package
2628 run : |
27- npm install
2829 npx webpack
2930 npm install -g vsce
3031 vsce package
4950 body-includes : new build is available
5051
5152 - name : Post comment
53+ continue-on-error : true
5254 if : steps.fc.outputs.comment-id == ''
5355 uses : actions/github-script@v5
5456 with :
6163 })
6264
6365 - name : Update comment
66+ continue-on-error : true
6467 if : steps.fc.outputs.comment-id != ''
6568 uses : peter-evans/create-or-update-comment@v1
6669 with :
You can’t perform that action at this time.
0 commit comments