Skip to content

Commit

Permalink
Merge pull request #78 from reactioncommerce/akarshit-build-for-all
Browse files Browse the repository at this point in the history
fix: require env in deploy step
  • Loading branch information
Akarshit committed Jun 3, 2021
2 parents 698bd77 + 0ac46f1 commit d61d487
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ jobs:
docker:
- image: node:12

dependencies:
pre:
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc

steps:
- checkout

Expand All @@ -22,14 +18,18 @@ jobs:
docker:
- image: node:12

dependencies:
pre:
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc

steps:
- checkout

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

- run: npx semantic-release

Expand All @@ -42,9 +42,9 @@ jobs:

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

- run: npm run lint

Expand All @@ -57,9 +57,9 @@ jobs:

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

- run: npm run test

Expand Down

0 comments on commit d61d487

Please sign in to comment.