Skip to content

Commit

Permalink
ci: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
omermorad committed Jan 15, 2022
1 parent 5211c13 commit 86c4f19
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:

- restore_cache:
keys:
- v1-dependencies-{{ checksum "package-lock.json" }}
- v1-dependencies-{{ checksum "yarn.lock" }}
- v1-dependencies-

- run:
name: Install
command: npm ci
command: yarn install --frozen-lockfile

- persist_to_workspace:
root: ~/repo
Expand All @@ -37,7 +37,7 @@ jobs:

- run:
name: Test
command: npm run test:ci
command: yarn test:ci
environment:
JEST_JUNIT_OUTPUT_DIR: ./coverage

Expand All @@ -53,7 +53,7 @@ jobs:
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package-lock.json" }}
key: v1-dependencies-{{ checksum "yarn.lock" }}

build:
<<: *defaults
Expand All @@ -63,7 +63,7 @@ jobs:

- run:
name: Build
command: npm run build
command: yarn build
environment:
NODE_ENV: 'test'

Expand All @@ -79,7 +79,7 @@ jobs:

- run:
name: Semantic Release
command: npx semantic-release
command: yarn semantic-release

workflows:
version: 2.1
Expand Down

0 comments on commit 86c4f19

Please sign in to comment.