From fd49082ac0fd9fcdefdc5f26e79b545570cffa16 Mon Sep 17 00:00:00 2001 From: iCrawl Date: Sat, 24 Aug 2019 20:28:44 +0200 Subject: [PATCH] ci: run ci in parallel --- .github/workflows/lint.yml | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5f41b66e9..4d5a78390 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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