Skip to content

Commit fcc54e2

Browse files
committed
chore(ci-cd): update release yml
GH-114
1 parent 28df0bd commit fcc54e2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ jobs:
2929
CONFIG_EMAIL: ${{ vars.RELEASE_COMMIT_EMAIL }}
3030
- name: Authenticate with Registry
3131
run: |
32-
echo "@${NPM_USERNAME}:registry=https://registry.npmjs.org/" > .npmrc
33-
echo "registry=https://registry.npmjs.org/" >> .npmrc
34-
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
32+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
3533
npm whoami
3634
env:
3735
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -56,6 +54,6 @@ jobs:
5654
- name: Publish to NPM 🚀
5755
# To always compare changes from registry
5856
# using `from-package` compares version in local package.json with registry and publish it if required.
59-
run: npm publish -ws
57+
run: npm publish -ws --dry-run
6058
env:
6159
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)