CircleCI Node → GitLab
Workflow flattens to stages: [test], single job.
version: 2.1
jobs:
test:
docker:
- image: cimg/node:20.10
steps:
- checkout
- run: npm ci
- run: npm test
workflows:
build:
jobs: [test]stages:
- stage-0
test:
stage: stage-0
image: cimg/node:20.10
script:
- npm ci
- npm test