This is a tutorial repo used for the SWE4103 CI seminar, to setup circle ci in a repo.
- Fork the repo
- Edit config.yml to be a working circleCI configuration
- Setup CircleCI account
- Add Github Checks
- Work, Add tests, and use pull requests.
Working Configurations
version: 2.1
jobs:
build:
docker:
- image: circleci/node:8
steps:
- checkout
- run:
name: Install Frontend Environment
command: npm ci
- run:
name: Run tests
command: npm test
version: 2.1
orbs:
node: circleci/node@3.0.0
workflows:
node-tests:
jobs:
- node/test