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
27 changes: 8 additions & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
version: 2.1

commands:
test-nodejs-old:
steps:
- run:
name: Versions
command: npm version
- checkout
- restore_cache:
keys:
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-master-{{ .Environment.CIRCLE_JOB }}
- run:
name: Install dependencies
command: npm install
- run:
name: Test
command: npm run test:ci
- save-npm-cache
test-nodejs:
steps:
- run:
Expand All @@ -30,7 +13,7 @@ commands:
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-master-{{ .Environment.CIRCLE_JOB }}
- run:
name: Install dependencies
command: npm ci
command: npm install
- run:
name: Test
command: npm run test:ci
Expand All @@ -46,7 +29,7 @@ jobs:
docker:
- image: node:6
steps:
- test-nodejs-old
- test-nodejs
node-v8:
docker:
- image: node:8
Expand All @@ -67,6 +50,11 @@ jobs:
- image: node:14
steps:
- test-nodejs
node-v16:
docker:
- image: node:16
steps:
- test-nodejs

workflows:
version: 2
Expand All @@ -77,3 +65,4 @@ workflows:
- node-v10
- node-v12
- node-v14
- node-v16
Loading