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

Commit 8d994aa

Browse files
committed
ci: login to NPM for publish and use defaults
1 parent 342a179 commit 8d994aa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.circleci/config.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,15 @@ jobs:
4747
- attach_workspace: { at: . }
4848
- run: yarn run snyk test --severity-threshold=high
4949
- run: yarn run snyk monitor
50+
5051
publish:
51-
docker:
52-
- image: circleci/node:8-browsers
52+
<<: *defaults
5353
steps:
5454
- checkout
5555
- attach_workspace: { at: . }
56+
- run: npm config set "//registry.npmjs.org/:_authToken" $NPM_AUTH
5657
- run: npm publish .
58+
5759
workflows:
5860
version: 2
5961
test_and_publish:

0 commit comments

Comments
 (0)