Skip to content

Commit a0947dd

Browse files
authored
chore: add npm token (#18)
1 parent 3fa07ed commit a0947dd

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
run: |
4040
git config user.name "github-actions[bot]"
4141
git config user.email "github-actions[bot]@users.noreply.github.com"
42+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
4243
npm run ci:release
4344
env:
4445
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

nx.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@
3939
"projectsRelationship": "independent",
4040
"releaseTagPattern": "{projectName}/{version}",
4141
"changelog": {
42-
"createRelease": "github",
43-
"file": false
42+
"projectChangelogs": {
43+
"createRelease": "github",
44+
"file": false
45+
}
4446
},
4547
"version": {
4648
"conventionalCommits": true,

0 commit comments

Comments
 (0)