mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 21:24:42 +12: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:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: lint
|
||||
eslint:
|
||||
name: eslint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
@ -21,8 +21,28 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
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
|
||||
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
|
||||
run: npm run docs:test
|
||||
|
|
Loading…
Reference in a new issue