Skip to content

Commit

Permalink
ci: 🎡 replace Travis by CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Aug 31, 2021
1 parent 07e8215 commit bf4e6b8
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 24 deletions.
64 changes: 64 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
version: 2

refs:
container: &container
docker:
- image: node:14
working_directory: ~/repo
steps:
- &Versions
run:
name: Versions
command: node -v && npm -v && yarn -v
- &Install
run:
name: Install Dependencies
command: yarn install --pure-lockfile
- &Build
run:
name: Build
command: yarn build
- &Test
run:
name: Test
command: yarn test
jobs:
all:
<<: *container
steps:
- checkout
- *Versions
- *Install
- *Build
- *Test
master:
<<: *container
steps:
- checkout
- *Versions
- *Install
- *Build
- *Test
- run:
name: Release
command: npx semantic-release

workflows:
version: 2
all:
jobs:
- all:
context: common-env-vars
filters:
branches:
ignore:
- master
- next
- gh-pages
master:
jobs:
- master:
context: common-env-vars
filters:
branches:
only: master
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

0 comments on commit bf4e6b8

Please sign in to comment.