diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b82b719..0339089 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: - name: Check for lint/formatting errors run: | npm ci - npx eslint . + npm run lint test: name: Test strategy: @@ -25,7 +25,7 @@ jobs: node-version: [lts/*, latest] os: [ubuntu-latest, windows-latest, macos-latest] include: - - node-version: 14 + - node-version: 16 os: ubuntu-latest runs-on: ${{ matrix.os }} steps: @@ -38,7 +38,7 @@ jobs: - name: Run library tests run: | npm ci - npx jest + npm run test:lib publish: name: Publish needs: [lint, test] @@ -49,7 +49,7 @@ jobs: uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 18 + node-version: lts/* registry-url: https://registry.npmjs.org/ - name: Install dependencies run: npm ci