#Other CI Tools
Overview of additional CI/CD platforms.
#CircleCI
yaml
1# .circleci/config.yml
2version: 2.1
3
4jobs:
5 build:
6 docker:
7 - image: node:20
8 steps:
9 - checkout
10 - run: npm ci
11 - run: npm test
12 - run: npm run build
13
14workflows:
15 build-and-test:
16 jobs:
17 - build#Travis CI
yaml
1# .travis.yml
2language: node_js
3node_js:
4 - "20"
5
6script:
7 - npm ci
8 - npm test
9 - npm run build
10
11deploy:
12 provider: pages
13 skip_cleanup: true
14 on:
15 branch: main#Azure DevOps
yaml
1# azure-pipelines.yml
2trigger:
3 - main
4
5pool:
6 vmImage: 'ubuntu-latest'
7
8steps:
9 - task: NodeTool@0
10 inputs:
11 versionSpec: '20.x'
12 - script: npm ci
13 - script: npm test
14 - script: npm run build#Comparison
| Platform | Best For | Pricing |
|---|---|---|
| GitHub Actions | GitHub repos | Free tier |
| GitLab CI | GitLab repos | Free tier |
| Jenkins | Self-hosted | Free (open source) |
| CircleCI | Cloud-native | Free tier |
| Azure DevOps | Microsoft ecosystem | Free tier |