Skip to content

Commit c34bc1e

Browse files
authored
ci: update workflows for nodejs projects (#135)
1 parent a80dfdb commit c34bc1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/if-nodejs-pr-testing.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ jobs:
5252
npm install --loglevel verbose
5353
- if: steps.packagejson.outputs.exists == 'true'
5454
name: Test
55-
run: npm test
55+
run: npm test --if-present
5656
- if: steps.packagejson.outputs.exists == 'true'
5757
name: Run linter
58-
run: npm run lint
58+
run: npm run lint --if-present
5959
- if: steps.packagejson.outputs.exists == 'true'
6060
name: Run release assets generation to make sure PR does not break it
61-
run: npm run generate:assets
61+
run: npm run generate:assets --if-present

0 commit comments

Comments
 (0)