Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Sep 23, 2023
1 parent 3c63d20 commit fb54b0c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@ jobs:
with:
fetch-depth: 0

- name: Setup bun
uses: oven-sh/setup-bun@v1

- name: Enable corepack
run: corepack enable

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}

- name: Install dependencies
run: bun install

- name: Lint codes
run: bun run lint

Expand Down
9 changes: 9 additions & 0 deletions build.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { defineBuildConfig } from 'unbuild'

export default defineBuildConfig({
declaration: true,
rollup: {
emitCJS: true
},
entries: ['src/index.ts']
})

0 comments on commit fb54b0c

Please sign in to comment.