Skip to content

Commit 17f7389

Browse files
committed
Fix release script
1 parent 21aad84 commit 17f7389

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ jobs:
3838
- name: Install dependencies
3939
run: bun ci
4040
- name: Publish package to NPM
41-
run: bun publish
41+
run: npm publish
4242
env:
43-
NPM_CONFIG_TOKEN: ${{ secrets.npm_token }}
43+
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
4444

4545
# publish-gpr:
4646
# name: Publish GPR
@@ -59,4 +59,4 @@ jobs:
5959
# - run: bun ci
6060
# - run: bun publish
6161
# env:
62-
# NPM_CONFIG_TOKEN: ${{secrets.GITHUB_TOKEN}}
62+
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

RELEASING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ Releasing is handled by GitHub Actions and is powered by GitHub Releases.
77
- Set the release title to the new version
88
- Auto-generate the release notes, excluding any internal changes
99
4. [Watch the release build](https://github.com/levibuzolic/eslint-plugin-no-only-tests/actions/workflows/publish.yml) and verify it completes successfully
10+
- CI installs and validates with Bun, then publishes to npm using `npm publish`

0 commit comments

Comments
 (0)