diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dfe29ecc8..ec2a34322 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,10 +25,30 @@ 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 - - name: Run Tests Only - if: ${{ matrix.node-version != '14.x' }} - run: npm run test + run: npm install + - name: Run tests and coverage + run: npm run test-cover + + 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