Merge pull request #1157 from github/adityasharad/actions/combine-lint-check-js

CI: Combine JS lint and JS check jobs
This commit is contained in:
Aditya Sharad 2022-07-28 16:30:52 -07:00 committed by GitHub
commit b100b75d58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,17 +10,8 @@ on:
workflow_dispatch:
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:
name: Check JS
runs-on: ubuntu-latest
timeout-minutes: 45
@ -30,7 +21,11 @@ jobs:
node-types-version: [12.12, current]
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
- name: Lint
run: npm run-script lint
- name: Update version of @types/node
if: matrix.node-types-version != 'current'