Skip to content

Commit d8dd07f

Browse files
committed
configure differnetly
1 parent 35a5700 commit d8dd07f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,11 @@ jobs:
1818
with:
1919
node-version: "20"
2020
cache: "npm"
21+
registry-url: "https://registry.npmjs.org"
2122
- name: git config
2223
run: |
2324
git config user.name "${GITHUB_ACTOR}"
2425
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
25-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
26-
cat .npmrc
27-
env:
28-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2926
- name: Install dependencies
3027
run: npm ci
3128
- name: Run tests
@@ -34,6 +31,8 @@ jobs:
3431
run: npx lerna run build:packages --since master
3532
- name: Publish packages
3633
run: npx lerna publish patch --yes
34+
env:
35+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3736

3837
rmw-shell-demo:
3938
if: ${{ always() }}

0 commit comments

Comments
 (0)