Skip to content

Commit 294ae2a

Browse files
authored
Merge pull request #54 from redallen/chore/fix-ci
yarn.lock
2 parents a66cea6 + 8b3c909 commit 294ae2a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ references:
88
- packages/eslint-plugin-pf-codemods/node_modules/
99
- packages/pf-codemods/node_modules/
1010
js_deps_cache_key: &js_deps_cache_key
11-
js-deps-v{{.Environment.CACHE_VERSION}}-{{checksum "yarn.json"}}
11+
js-deps-v{{.Environment.CACHE_VERSION}}-{{checksum "yarn.lock"}}
1212
attach_workspace: &attach_workspace
1313
attach_workspace:
1414
at: ~/project
@@ -30,6 +30,10 @@ jobs:
3030
- image: circleci/node:12
3131
steps:
3232
- checkout
33+
- persist_to_workspace:
34+
root: ~/project
35+
paths:
36+
- "*"
3337
- restore_cache:
3438
keys:
3539
- *js_deps_cache_key
@@ -42,10 +46,6 @@ jobs:
4246
- run:
4347
name: Test rules
4448
command: yarn test
45-
- persist_to_workspace:
46-
root: ~/project
47-
paths:
48-
- "*"
4949
deploy:
5050
docker:
5151
- image: circleci/node:12
@@ -56,4 +56,4 @@ jobs:
5656
command: mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
5757
- run:
5858
name: Release to NPM
59-
command: if [[ -z $CIRCLE_PULL_REQUEST ]]; then yarn lerna publish --conventional-commits --create-release=github --yes | tee lerna-output.txt; fi;
59+
command: if [[ -z $CIRCLE_PULL_REQUEST ]]; then npx lerna publish --conventional-commits --create-release=github --yes | tee lerna-output.txt; fi;

0 commit comments

Comments
 (0)