diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c58375..fc0edb4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,11 @@ jobs: with: fetch-depth: 0 + - name: Set Node.js + uses: actions/setup-node@v3 + with: + registry-url: 'https://registry.npmjs.org' + - name: Install bun uses: oven-sh/setup-bun@v1 @@ -22,14 +27,14 @@ jobs: run: bun install - name: Build the release - run: bun --bun run build + run: bun run build - name: Publish to npm - run: bun run publish --access public --no-git-checks + run: npm publish --access public --no-git-checks env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - name: Create GitHub release - run: changelogithub + run: npx changelogithub env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/bun.lockb b/bun.lockb index f17e232..8421737 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 755af0a..dff8726 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,6 @@ "@types/node": "^18.17.1", "bun-types": "^0.7.1", "bumpp": "^9.1.1", - "changelogithub": "^0.12.12", "commitizen": "^4.3.0", "conventional-changelog-cli": "^3.0.0", "cz-git": "^1.7.0",