Skip to content

Commit

Permalink
chore: use bun publish
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Oct 6, 2024
1 parent 42f3060 commit 13a370f
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: CI

on:
push:
Expand All @@ -15,13 +15,12 @@ jobs:
with:
fetch-depth: 0

- name: Set Node.js
uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'

- name: Install Bun
uses: oven-sh/setup-bun@v2
# env:
# BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
with:
bun-version: canary

- name: Use cached node_modules
uses: actions/cache@v4
Expand All @@ -35,11 +34,11 @@ jobs:
run: bun install

- name: Publish to npm
run: npm publish --access public --no-git-checks
run: bun publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- name: Create GitHub release
run: npx changelogithub
run: bunx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 13a370f

Please sign in to comment.