chore: update ci to node 10.16; use local chrome for speed

This commit is contained in:
Thomas Allmer 2019-08-21 11:30:31 +02:00
parent 634f5c302e
commit b7b8138fe7

View file

@ -7,7 +7,7 @@ version: 2
defaults: &defaults defaults: &defaults
working_directory: ~/repo working_directory: ~/repo
docker: docker:
- image: circleci/node:10.12.0-browsers - image: circleci/node:10.16.0-browsers
jobs: jobs:
test: test:
@ -29,8 +29,12 @@ jobs:
# run lint # run lint
- run: npm run lint - run: npm run lint
# run tests # run test locally first
- run: npm run test:bs - run: npm run test
# run compatibility tests for multiple browser via browserstack
# disabled until we can safely test multiple browsers
# - run: npm run test:bs
- persist_to_workspace: - persist_to_workspace:
root: ~/repo root: ~/repo
@ -44,7 +48,7 @@ jobs:
at: ~/repo at: ~/repo
- add_ssh_keys: - add_ssh_keys:
fingerprints: fingerprints:
- "df:41:a0:89:d0:a1:30:7d:08:38:d6:65:73:61:a4:ec" - 'df:41:a0:89:d0:a1:30:7d:08:38:d6:65:73:61:a4:ec'
- run: - run:
name: Authenticate with registry name: Authenticate with registry
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc