Skip to content

Commit f999b0c

Browse files
committed
fix ci
1 parent df02332 commit f999b0c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,9 @@ jobs:
3737
- run: ./scripts/build.sh
3838

3939
- name: Publish to NPM
40-
run: |
41-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > dist/.npmrc
42-
cd dist && bun publish --access public
40+
run: cd dist && bun publish --access public
4341
env:
44-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
42+
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
4543

4644
- name: Create GitHub Release
4745
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)