-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (35 loc) · 924 Bytes
/
ci_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
39
40
name: bun CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
bun-version: [latest]
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- uses: actions/setup-node@v4
with:
node-version: v20.x
- run: |
npm install -g esbuild
deno task dnt
deno task minify:crystals-kyber-js > test/runtimes/crystals-kyber.js
- uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ matrix.bun-version }}
- name: Run test
working-directory: ./test/runtimes/bun
run: |
nohup bun src/index.js &
sleep 3
deno test --import-map=../../../import_map.json mlkem.spec.ts --allow-net --config=../../../deno.json