File tree Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : ' npm'
4
+ directory : ' ./'
5
+ schedule :
6
+ interval : ' daily'
7
+
8
+ - package-ecosystem : ' github-actions'
9
+ directory : ' ./'
10
+ schedule :
11
+ interval : ' daily'
Original file line number Diff line number Diff line change
1
+ name : Code CI
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+
7
+ jobs :
8
+ build :
9
+ name : Build and test code
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v4
15
+
16
+ - name : Setup bun
17
+ uses : oven-sh/setup-bun@v1
18
+ with :
19
+ bun-version : latest
20
+
21
+ - name : Install packages
22
+ run : bun install
23
+
24
+ - name : Build code
25
+ run : bun run build
26
+
27
+ - name : Test
28
+ run : bun run test
Original file line number Diff line number Diff line change 27
27
"license" : " MIT" ,
28
28
"scripts" : {
29
29
"dev" : " bun run --hot example/index.ts" ,
30
- "test" : " bun wiptest && npm run test:node" ,
30
+ "test" : " bun test && npm run test:node" ,
31
31
"test:node" : " npm install --prefix ./test/node/cjs/ && npm install --prefix ./test/node/esm/ && node ./test/node/cjs/index.js && node ./test/node/esm/index.js" ,
32
32
"build" : " rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json" ,
33
33
"release" : " npm run build && npm run test && npm publish --access public"
You can’t perform that action at this time.
0 commit comments