diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f070fc1..4af5671 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,9 @@ jobs: - uses: oven-sh/setup-bun@v2 with: bun-version: latest - - run: bun i && bun test && bun run build + - run: bun i + - run: bun test + - run: bun run build release-please: name: Release Please runs-on: ubuntu-latest @@ -37,6 +39,9 @@ jobs: - uses: oven-sh/setup-bun@v2 with: bun-version: latest - - run: bunx npm publish + registry-url: https://registry.npmjs.org/ + - run: bun i + - run: bun run build + - run: bun publish env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 9265cc6..956f0ca 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,10 @@ "name": "zustand-computed", "version": "2.0.1", "author": "chrisvander", - "repository": "chrisvander/zustand-computed", + "repository": { + "type": "git", + "url": "git+https://github.com/chrisvander/zustand-computed.git" + }, "main": "dist/index.js", "module": "dist/index.mjs", "devDependencies": {