From a40dbc1a172271d972d4a19da7198241a84f727d Mon Sep 17 00:00:00 2001 From: Abhinay Omkar Date: Mon, 16 Nov 2020 20:16:01 -0500 Subject: [PATCH] build: Move lint test to separate workflow run (#1960) --- .github/workflows/tests.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 942c0598d..4b61dd2dc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,6 +3,16 @@ name: tests on: [push, pull_request] jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 12 + run: npm ci --ignore-scripts + run: npm run bootstrap + run: npm run lint tests: runs-on: ubuntu-latest @@ -30,11 +40,6 @@ jobs: - name: Compile component TypeScript run: npm run build:typescript - # TODO(aomarks) Once b/144957560 is fixed, move lint and format into their - # own workflows or jobs so that they can run in parallel. - - name: Check lint - run: npm run lint - - name: Compile test TypeScript run: npm run build:tests