mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 11:10:38 +00:00
ci: run ci in parallel
This commit is contained in:
parent
1511e96761
commit
fd49082ac0
1 changed files with 24 additions and 4 deletions
28
.github/workflows/lint.yml
vendored
28
.github/workflows/lint.yml
vendored
|
|
@ -1,12 +1,12 @@
|
||||||
name: Lint
|
name: ESLint, Typings, and Docs
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
eslint:
|
||||||
name: lint
|
name: eslint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
@ -21,8 +21,28 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
job-name: lint
|
job-name: eslint
|
||||||
|
|
||||||
|
typings-lint:
|
||||||
|
name: typings-lint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: install node v12
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 12
|
||||||
- name: lint typings
|
- name: lint typings
|
||||||
run: npm run lint:typings
|
run: npm run lint:typings
|
||||||
|
|
||||||
|
docs-lint:
|
||||||
|
name: docs-lint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: install node v12
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 12
|
||||||
- name: lint docs
|
- name: lint docs
|
||||||
run: npm run docs:test
|
run: npm run docs:test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue