Skip to content

Commit 215bf6b

Browse files
authored
Merge pull request #719 from DaleStudy/610-registry
λ°œν–‰ μ›Œν¬ν”Œλ‘œμš°μ—μ„œ NPM 토큰을 `.npmrc` 파일 λŒ€μ‹  ν™˜κ²½ λ³€μˆ˜λ‘œ μ €μž₯
2 parents 3b6cd9c + 5d74c51 commit 215bf6b

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

β€Ž.github/workflows/publication.ymlβ€Ž

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ jobs:
1414
with:
1515
ref: ${{ github.event.release.tag_name }}
1616

17-
- name: Setup Bun
18-
uses: oven-sh/setup-bun@v2
19-
20-
- name: Install dependencies
21-
run: bun install --frozen-lockfile
22-
2317
- name: Verify tag matches package.json
2418
run: |
2519
TAG_NAME="${{ github.event.release.tag_name }}"
@@ -34,16 +28,18 @@ jobs:
3428
fi
3529
echo "βœ… 버전 일치 확인: ${TAG_VERSION}"
3630
31+
- name: Setup Bun
32+
uses: oven-sh/setup-bun@v2
33+
3734
- name: Build package
3835
run: |
36+
bun install --frozen-lockfile
3937
bun run prepare
4038
bun run build:lib
4139
4240
- name: Publish to npm
4341
env:
44-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
42+
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
4543
run: |
46-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
47-
4844
bun publish
4945
echo "npm 배포가 μ™„λ£Œλ˜μ—ˆμŠ΅λ‹ˆλ‹€."

0 commit comments

Comments
Β (0)