feat(node-versions): raised the minimum required node version to v18 (#2620)
This commit is contained in:
@@ -17,9 +17,8 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
node-version:
|
||||
- 14.17
|
||||
- 16.0.0
|
||||
- 17
|
||||
- 18.0.0
|
||||
- 19
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -32,7 +31,9 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: npm
|
||||
- run: npm ci
|
||||
- run: npm clean-install
|
||||
- name: Ensure dependencies are compatible with the version of node
|
||||
run: npx ls-engines
|
||||
- run: npm run test:ci
|
||||
|
||||
# separate job to set as required in branch protection,
|
||||
@@ -44,9 +45,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: lts/*
|
||||
cache: npm
|
||||
- run: npm ci
|
||||
- name: Ensure dependencies are compatible with the version of node
|
||||
run: npx ls-engines@0.4
|
||||
- run: npm clean-install
|
||||
- run: npm run lint
|
||||
|
||||
Reference in New Issue
Block a user