Skip to content

Commit

Permalink
Use origami-ci !
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Champion authored and JakeChampion committed Sep 30, 2019
1 parent 91c8f75 commit 15f0874
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,18 @@ version: 2
jobs:
test:
docker:
- image: circleci/node:10-browsers
- image: 'circleci/node:10-browsers'
steps:
- checkout
- run: npm config set prefix "$HOME/.local"
- run: npm i -g origami-build-tools@^8
- run: $HOME/.local/bin/obt install
- run: $HOME/.local/bin/obt demo --demo-filter pa11y --suppress-errors
- run: $HOME/.local/bin/obt verify
- run: $HOME/.local/bin/obt test
- run: git clean -fxd
- run: npx occ 0.0.0
- run: $HOME/.local/bin/obt install --ignore-bower
- run: $HOME/.local/bin/obt test --ignore-bower
- run: npm install --only=dev
- run: npx origami-ci branch
publish_to_npm:
docker:
- image: circleci/node:10
- image: 'circleci/node:10'
steps:
- checkout
- run: npx occ ${CIRCLE_TAG##v}
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > $HOME/.npmrc
- run: npm publish --access public
- run: npm install --only=dev
- run: npx origami-ci release
workflows:
version: 2
test:
Expand Down

0 comments on commit 15f0874

Please sign in to comment.