-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.02 KB
/
bun.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Bun Tests
env:
VERSION: v1.10.2
on:
push:
branches: [develop, master]
pull_request:
branches: [develop, master]
jobs:
bun_test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Download WASM DB
run: wget https://github.com/sql-js/sql.js/releases/download/$VERSION/sqljs-wasm.zip && unzip sqljs-wasm.zip -d playground/public
- name: Install dependencies for sqljs
run: cd src/sqljs && bun install
- name: Install dependencies for Bun
run: cd src/bun && bun install
- name: Install dependencies for libSQL
run: cd src/libsql && bun install
- name: Run unit tests
run: bun test
- uses: actions/upload-artifact@v3
if: always()
with:
name: bun-report
path: bun-report/
retention-days: 30