Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
Switch to CircleCI 2 (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanmanning committed Apr 20, 2018
1 parent 0010545 commit 907f0d2
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 15 deletions.
34 changes: 34 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,34 @@
version: 2
jobs:
test:
docker:
- image: circleci/node:8-browsers
steps:
- checkout
- run:
name: Ensure package.json exists for caching
command: if [[ ! -f package.json ]]; then echo "{}" > package.json; fi
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}-{{ checksum "bower.json" }}
- run:
name: Install dependencies
command: npx origami-build-tools@^7 install
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}-{{ checksum "bower.json" }}
paths:
- node_modules
- bower_components
- run:
name: Build accessibility testing demo
command: npx origami-build-tools@^7 demo --demo-filter pa11y --suppress-errors
- run:
name: Run linters
command: npx origami-build-tools@^7 verify
- run:
name: Run tests
command: npx origami-build-tools@^7 test
workflows:
version: 2
test:
jobs:
- test
15 changes: 0 additions & 15 deletions circle.yml

This file was deleted.

0 comments on commit 907f0d2

Please sign in to comment.