Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,33 @@ name: Test
- opened
- synchronize
jobs:
test_matrix:
strategy:
matrix:
node-version:
- '14.17'
- 16
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
cache: npm
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: Ensure dependencies are compatible with the version of node
run: npx ls-engines
- run: npm test
test:
runs-on: ubuntu-latest
needs: test_matrix
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: lts/*
cache: npm
node-version: 16
- run: npm ci
- run: npm test
- run: npm run lint
- run: npx lockfile-lint --path package-lock.json
Loading