Skip to content

Commit

Permalink
chore: Optimize CI build process
Browse files Browse the repository at this point in the history
  • Loading branch information
znck committed May 5, 2018
1 parent bb1486d commit 44dd152
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:

- run:
name: update-pnpm
command: 'sudo npm install -g pnpm@latest'
command: 'curl -L https://unpkg.com/@pnpm/self-installer | sudo node'

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-{{ checksum "shrinkwrap.yaml" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

Expand All @@ -29,9 +29,9 @@ jobs:
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
key: v1-dependencies-{{ checksum "shrinkwrap.yaml" }}

# run tests!
- run: pnpm test -- --ci --coverage

- run: cat coverage/lcov.info | pnpm coveralls
- run: cat coverage/lcov.info | pnpm run coveralls

0 comments on commit 44dd152

Please sign in to comment.