Skip to content

Commit

Permalink
Configure semantic-release more
Browse files Browse the repository at this point in the history
  • Loading branch information
danopia committed Jan 12, 2021
1 parent 9fd1813 commit b855fc7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,24 @@ jobs:
- node_modules

- add_ssh_keys:
fingerprints:
- "ef:b9:18:2b:4e:2f:26:2b:fb:c3:f1:25:a1:ca:30:88"
fingerprints:
- "ef:b9:18:2b:4e:2f:26:2b:fb:c3:f1:25:a1:ca:30:88"
- run:
name: Set git user.
command: |
git config user.email [email protected]
git config user.name FreightBot
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
name: Set git user.
command: |
git config user.email [email protected]
git config user.name FreightBot
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
- run:
name: Set .npmrc
command: |
echo "always-auth=true" > .npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
name: Set .npmrc
command: |
echo "always-auth=true" > .npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
- run: npx [email protected]
- run:
name: Do release
command: npx [email protected]

workflows:
version: 2
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
"verdaccio",
"verdaccio-plugin"
],
"release": {
"branches": ["main"]
},
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit b855fc7

Please sign in to comment.