CircleCI Node → Bitbucket
Workflow → default pipeline; explicit cache pair → built-in node cache.
version: 2.1
jobs:
test:
docker:
- image: cimg/node:20.10
steps:
- checkout
- run: npm ci
- run: npm test
workflows:
build:
jobs: [test]image: cimg/node:20.10
pipelines:
default:
- step:
name: test
caches: [node]
script:
- npm ci
- npm test