Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #22 from reactioncommerce/fix-akarshit-circleci
Browse files Browse the repository at this point in the history
fix: env variable only in deploy
  • Loading branch information
Akarshit authored May 24, 2021
2 parents 103dfb2 + c2c5100 commit a34ee4a
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.14.1

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

steps:
- checkout

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

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 a34ee4a

Please sign in to comment.