Skip to content

Commit bd22cb7

Browse files
committed
Update workflow files
Signed-off-by: worksofliam <[email protected]>
1 parent 3b4f883 commit bd22cb7

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
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

.github/workflows/webpack_ci.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: NodeJS with Webpack
22

3-
on:
4-
push:
5-
branches: [ "main" ]
6-
pull_request:
7-
branches: [ "main" ]
3+
on: pull_request
84

95
jobs:
106
build:
@@ -22,9 +18,14 @@ jobs:
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
@@ -49,6 +50,7 @@ jobs:
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:
@@ -61,6 +63,7 @@ jobs:
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:

0 commit comments

Comments
 (0)