Update config.yml

pull/73/head
guhur 4 years ago
parent 166d9a6174
commit e66579a20a

@ -1,10 +1,27 @@
orbs:
react: 'thefrontside/react@dev:alpha'
version: 2.1
workflows:
push:
jobs:
- react/install
- react/test:
requires:
- react/install
jobs:
build:
docker:
- image: circleci/node:10.16.3
steps:
- checkout
- run:
name: update-yarn
command: 'curl --compressed -o- -L https://yarnpkg.com/install.sh | bash'
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: install-yarn
command: yarn install
- save_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- ./node_modules
- run:
name: test
command: yarn test
- store_artifacts:
path: test-results.xml
prefix: tests
- store_test_results:
path: test-results.xml

Loading…
Cancel
Save