Skip to content

Commit

Permalink
🔧 chore: update release ci with bun (lobehub#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx authored Sep 12, 2023
1 parent 78a5a94 commit 11760a4
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,20 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install bun
uses: oven-sh/setup-bun@v1

- name: Install deps
run: pnpm install
run: bun i

- name: Lint
run: pnpm run lint
run: bun run lint

- name: Test
run: pnpm run test
run: bun run test

- name: release
run: pnpm run release
run: bun run release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 11760a4

Please sign in to comment.