From 15f087431d1ea83a6e5c11015e50ac8f192fcae8 Mon Sep 17 00:00:00 2001 From: Jake Champion Date: Mon, 30 Sep 2019 14:49:09 +0100 Subject: [PATCH] Use origami-ci ! --- .circleci/config.yml | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6a81a4c..472727f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: