Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 992d011

Browse files
committed
CI: Combine JS lint and JS check jobs
Reduce the number of concurrent jobs. This will require a branch protection rule update, renaming `check-js` to Check JS` and removing `Lint`.
1 parent 6c23d76 commit 992d011

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/pr-checks.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,8 @@ on:
1010
workflow_dispatch:
1111

1212
jobs:
13-
lint-js:
14-
name: Lint
15-
runs-on: ubuntu-latest
16-
timeout-minutes: 45
17-
18-
steps:
19-
- uses: actions/checkout@v3
20-
- name: Run Lint
21-
run: npm run-script lint
22-
2313
check-js:
14+
name: Check JS
2415
runs-on: ubuntu-latest
2516
timeout-minutes: 45
2617

@@ -30,7 +21,11 @@ jobs:
3021
node-types-version: [12.12, current]
3122

3223
steps:
33-
- uses: actions/checkout@v3
24+
- name: Checkout
25+
uses: actions/checkout@v3
26+
27+
- name: Lint
28+
run: npm run-script lint
3429

3530
- name: Update version of @types/node
3631
if: matrix.node-types-version != 'current'

0 commit comments

Comments
 (0)