Skip to content

Commit 604626f

Browse files
committed
configure differnetly
1 parent ff796f2 commit 604626f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ jobs:
2323
run: |
2424
git config user.name "${GITHUB_ACTOR}"
2525
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
26+
- name: "NPM Identity"
27+
env:
28+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
29+
run: |
30+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
2631
- name: Install dependencies
2732
run: npm ci
2833
- name: Run tests
@@ -31,8 +36,6 @@ jobs:
3136
run: npx lerna run build:packages --since master
3237
- name: Publish packages
3338
run: npx lerna publish patch --yes
34-
env:
35-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3639

3740
rmw-shell-demo:
3841
if: ${{ always() }}

0 commit comments

Comments
 (0)