Skip to content

Commit

Permalink
circle: update Node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchambers committed Dec 6, 2023
1 parent e710383 commit e3ab0c4
Showing 1 changed file with 12 additions and 22 deletions.
34 changes: 12 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,19 @@
version: 2.1

orbs:
node: circleci/[email protected]

jobs:
test:
executor:
name: node/default
tag: <<parameters.version>>
parameters:
version:
type: string
steps:
- checkout
- run: npm install
- run: npm test
node: circleci/[email protected]

workflows:
test:
jobs:
- test:
version: 10.14.2
- test:
version: 12.0.0
- test:
version: 14.0.0
- test:
version: 16.0.0
- node/test:
setup:
# derive cache key from package.json
- run: cp package.json package-lock.json
override-ci-command: rm package-lock.json && npm install && git checkout -- package.json
matrix:
parameters:
version:
- 18.0.0
- 20.0.0
- 21.0.0

0 comments on commit e3ab0c4

Please sign in to comment.