Skip to content

Commit

Permalink
feat(node-version): raised the minimum required version to v14.17 (#118)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: minimum node version is now v14.17
  • Loading branch information
travi authored Nov 5, 2021
1 parent 171dd22 commit 75545fa
Show file tree
Hide file tree
Showing 3 changed files with 328 additions and 204 deletions.
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

0 comments on commit 75545fa

Please sign in to comment.