CircleCI Node test → GitHub Actions
A workflow with one Docker-executor job. Caches collapse to actions/cache.
version: 2.1
jobs:
test:
docker:
- image: cimg/node:20.10
steps:
- checkout
- run: npm ci
- run: npm test
workflows:
build:
jobs: [test]name: CI
on:
push: {}
jobs:
test:
runs-on: ubuntu-latest
container: cimg/node:20.10
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm test