We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c63d20 commit fb54b0cCopy full SHA for fb54b0c
.github/workflows/ci.yml
@@ -23,6 +23,20 @@ jobs:
23
with:
24
fetch-depth: 0
25
26
+ - name: Setup bun
27
+ uses: oven-sh/setup-bun@v1
28
+
29
+ - name: Enable corepack
30
+ run: corepack enable
31
32
+ - name: Setup node
33
+ uses: actions/setup-node@v3
34
+ with:
35
+ node-version: ${{ matrix.node }}
36
37
+ - name: Install dependencies
38
+ run: bun install
39
40
- name: Lint codes
41
run: bun run lint
42
build.config.ts
@@ -0,0 +1,9 @@
1
+import { defineBuildConfig } from 'unbuild'
2
3
+export default defineBuildConfig({
4
+ declaration: true,
5
+ rollup: {
6
+ emitCJS: true
7
+ },
8
+ entries: ['src/index.ts']
9
+})
0 commit comments