Skip to content

Commit

Permalink
chore: Split out lint and declaration jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Dec 7, 2020
1 parent 9286db3 commit d0a86ce
Showing 1 changed file with 36 additions and 5 deletions.
41 changes: 36 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,41 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install --no-package-lock
- name: Run All Validations
if: ${{ matrix.node-version == '14.x' }}
run: npm run test-ci
run: npm install
- 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

coverage:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: npm install
- name: Run test coverage
run: npm run test-coverage

0 comments on commit d0a86ce

Please sign in to comment.