From 1918326adc3a86fc6b0d338ae670f044c852a46a Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sun, 6 Dec 2020 20:53:44 -0500 Subject: [PATCH] chore: Split out lint and declaration jobs --- .github/workflows/ci.yml | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dfe29ecc8..923fefa36 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,10 +25,34 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Install Dependencies - run: npm install --no-package-lock - - name: Run All Validations + run: npm install + - name: Run tests with coverage if: ${{ matrix.node-version == '14.x' }} - run: npm run test-ci + run: npm run test-coverage - name: Run Tests Only if: ${{ matrix.node-version != '14.x' }} run: npm run test + + lint: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + - name: Install Dependencies + run: npm install + - name: Lint + run: npm run lint + + declaration: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Install Dependencies + run: npm install + - name: Run Typescript Validations + run: npm run test-declaration