Skip to content

Commit a8de212

Browse files
committed
Fix bun publish auth
1 parent 395dc6e commit a8de212

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
fetch-depth: 0
2323
- name: Setup Bun
2424
uses: ./.github/composite/setup-bun
25+
- name: Setup npmrc
26+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
2527
- name: Install dependencies
2628
run: bun install --frozen-lockfile
2729
env:
@@ -36,8 +38,6 @@ jobs:
3638
# Using a PAT instead of GITHUB_TOKEN because we need to run workflows when releases are created
3739
# https://github.com/orgs/community/discussions/26875#discussioncomment-3253761
3840
GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_TOKEN }}
39-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
40-
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
4141
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
4242
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4343

packages/react-math/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"exports": {
55
".": {
66
"types": "./dist/index.d.ts",
7+
"development": "./src/index.ts",
78
"default": "./dist/index.js"
89
}
910
},

0 commit comments

Comments
 (0)