Skip to content

Commit

Permalink
Switch to using CircleCI context
Browse files Browse the repository at this point in the history
  • Loading branch information
markwhitaker committed Aug 2, 2022
1 parent a9e75fc commit 4f6865a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
at: ~/repo
- run:
name: Authenticate with registry
command: echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > ~/repo/.npmrc
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
- run:
name: Publish package (versioned by git tag)
command: |
Expand All @@ -56,6 +56,8 @@ workflows:
branches:
only: /.*/
- deploy:
# Add to PublishToNpm context to access the NPM_TOKEN environment variable
context: PublishToNpm
requires:
- test
filters:
Expand Down

0 comments on commit 4f6865a

Please sign in to comment.