Skip to content
This repository was archived by the owner on Oct 12, 2025. It is now read-only.

Commit a580fb7

Browse files
committed
env
1 parent 2b0911f commit a580fb7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ jobs:
1818
node-version: 20
1919
registry-url: 'https://registry.npmjs.org'
2020

21-
- name: Set up .npmrc
22-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
23-
2421
- name: Create .env file
2522
run: echo "VITE_HELIUS_API_KEY=${{ secrets.VITE_HELIUS_API_KEY }}" >> .env
2623

@@ -48,6 +45,10 @@ jobs:
4845
echo "changed=true" >> "$GITHUB_OUTPUT"
4946
fi
5047
48+
- name: Authenticate with npm
49+
run: |
50+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
51+
5152
- name: Publish @ecency/sdk
5253
if: steps.detect_sdk.outputs.changed == 'true'
5354
run: |

0 commit comments

Comments
 (0)