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

Commit 7b25b3f

Browse files
committed
v1 to v3 changes
1 parent a580fb7 commit 7b25b3f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/any.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- '*'
66
jobs:
77
build:
8+
if: github.ref_name != 'main'
89
runs-on: ubuntu-latest
910
strategy:
1011
matrix:

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ jobs:
4545
echo "changed=true" >> "$GITHUB_OUTPUT"
4646
fi
4747
48-
- name: Authenticate with npm
48+
- name: Set up .npmrc
4949
run: |
50-
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
50+
echo "@ecency:registry=https://registry.npmjs.org/" > .npmrc
51+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
5152
5253
- name: Publish @ecency/sdk
5354
if: steps.detect_sdk.outputs.changed == 'true'

0 commit comments

Comments
 (0)