Skip to content

Commit

Permalink
Merge pull request #10 from 1pxone/ci-fix
Browse files Browse the repository at this point in the history
fix(ci): fixes paths at ci config
  • Loading branch information
Artemiy Vereshchinskiy authored May 23, 2020
2 parents 979119c + a09c323 commit 6a287e4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ whitelist: &whitelist
- README.md
- tsconfig.json
- tslint.json
version: 2
version: 2.1

orbs:
npm-config: cobli/npm-config@1.0.0
Expand Down Expand Up @@ -84,10 +84,7 @@ jobs:
steps:
- attach_workspace:
at: ~/repo
- npm-config/set-registry:
registry-prurl: //registry.npmjs.org/
scope: '@onepx'
auth-token: $NPM_TOKEN

- run:
name: Write NPM Token to ~/.npmrc
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
Expand All @@ -100,6 +97,11 @@ jobs:
name: Write version to package.json
command: $(yarn bin)/dot-json package.json version ${CIRCLE_TAG:1}

- npm-config/set-registry:
registry-prurl: //registry.npmjs.org/
scope: '@onepx'
auth-token: $NPM_TOKEN

- run:
name: Publish to NPM
command: npm publish --access=public
Expand Down

0 comments on commit 6a287e4

Please sign in to comment.