mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
ci(): use node v16 for samples, lint, test cov
This commit is contained in:
@@ -50,9 +50,19 @@ jobs:
|
||||
command: npm run build
|
||||
|
||||
test_node_12:
|
||||
working_directory: ~/nest
|
||||
<<: *unit-tests-template
|
||||
docker:
|
||||
- image: circleci/node:12
|
||||
|
||||
test_node_14:
|
||||
<<: *unit-tests-template
|
||||
docker:
|
||||
- image: circleci/node:14
|
||||
|
||||
test_node_16:
|
||||
working_directory: ~/nest
|
||||
docker:
|
||||
- image: circleci/node:16
|
||||
steps:
|
||||
- checkout
|
||||
- *restore-cache
|
||||
@@ -65,20 +75,10 @@ jobs:
|
||||
- store_artifacts:
|
||||
path: coverage
|
||||
|
||||
test_node_14:
|
||||
<<: *unit-tests-template
|
||||
docker:
|
||||
- image: circleci/node:14
|
||||
|
||||
test_node_16:
|
||||
<<: *unit-tests-template
|
||||
docker:
|
||||
- image: circleci/node:16
|
||||
|
||||
lint:
|
||||
working_directory: ~/nest
|
||||
docker:
|
||||
- image: circleci/node:12
|
||||
- image: circleci/node:16
|
||||
steps:
|
||||
- checkout
|
||||
- *restore-cache
|
||||
@@ -144,7 +144,7 @@ jobs:
|
||||
samples:
|
||||
working_directory: ~/nest
|
||||
docker:
|
||||
- image: circleci/node:12
|
||||
- image: circleci/node:16
|
||||
environment:
|
||||
- DISABLE_OPENCOLLECTIVE: true
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user