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`.
This commit is contained in:
parent
6c23d76596
commit
992d011666
1 changed files with 6 additions and 11 deletions
17
.github/workflows/pr-checks.yml
vendored
17
.github/workflows/pr-checks.yml
vendored
|
|
@ -10,17 +10,8 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-js:
|
|
||||||
name: Lint
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 45
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Run Lint
|
|
||||||
run: npm run-script lint
|
|
||||||
|
|
||||||
check-js:
|
check-js:
|
||||||
|
name: Check JS
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 45
|
timeout-minutes: 45
|
||||||
|
|
||||||
|
|
@ -30,7 +21,11 @@ jobs:
|
||||||
node-types-version: [12.12, current]
|
node-types-version: [12.12, current]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
run: npm run-script lint
|
||||||
|
|
||||||
- name: Update version of @types/node
|
- name: Update version of @types/node
|
||||||
if: matrix.node-types-version != 'current'
|
if: matrix.node-types-version != 'current'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue