Skip to content

Commit

Permalink
chore(workflow): CircleCI project setup (#499)
Browse files Browse the repository at this point in the history
Co-authored-by: Maciej Kucmus <maciejkucmus@gmail.com>
  • Loading branch information
patzick and mkucmus authored Mar 17, 2020
1 parent ba29791 commit eb235c9
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 35 deletions.
45 changes: 45 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
version: 2.1
orbs:
coveralls: coveralls/coveralls@1.0.4
win: circleci/windows@2.2.0

jobs:
build:
working_directory: ~/shopware-pwa
docker:
- image: circleci/node:12.16.1
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
- run:
name: install dependencies
command: yarn --frozen-lockfile
- save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
- run:
name: test
command: yarn test:coverage --w 2
- coveralls/upload
test:
executor: win/default
working_directory: ~/shopware-pwa
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
- run:
name: install dependencies
command: yarn --frozen-lockfile
- run:
name: test
command: yarn test --w 2

workflows:
version: 2
build-test:
jobs:
- build
- test
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

0 comments on commit eb235c9

Please sign in to comment.