CircleCI 2.0
Environment variables
Multiple Node jobs configuration
.circleci/config.yml configuration for multiple Node jobs
.circleci/config.yml configuration for multiple Node jobsversion: 2.1
orbs:
node: circleci/node@5.0.0
jobs:
release:
executor: node/default
steps:
- checkout
- node/install-packages # Install and automatically cache packages
# Run optional required steps before releasing
# - run: npm run build-script
- run: npx semantic-release
workflows:
test_and_release:
# Run the test jobs first, then the release only when all the test jobs are successful
jobs:
- node/test:
matrix:
parameters:
version:
- 16.1.0
- 14.17.0
- release:
requires:
- node/testLast updated
Was this helpful?