diff --git a/.github/workflows/create-prokit-publish.yml b/.github/workflows/create-prokit-publish.yml index d8555e7..20dedf5 100644 --- a/.github/workflows/create-prokit-publish.yml +++ b/.github/workflows/create-prokit-publish.yml @@ -13,11 +13,10 @@ jobs: working-directory: ./packages/create-prokit steps: - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v1 + - uses: actions/setup-node@v3 with: + node-version: 20 registry-url: https://registry.npmjs.org/ - bun-version: latest + - run: npm publish env: - BUN_AUTH_TOKEN: ${{secrets.npm_token}} - - run: bun install --frozen-lockfile - - run: bun publish + NODE_AUTH_TOKEN: ${{secrets.npm_token}} diff --git a/bunfig.toml b/bunfig.toml index c5f8392..ee538a3 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -3,4 +3,4 @@ # 官方镜像源 # registry = "https://registry.npmjs.org" # 淘宝镜像源 -# registry = "https://registry.npmmirror.com" \ No newline at end of file + registry = "https://registry.npmmirror.com" \ No newline at end of file