-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (35 loc) · 842 Bytes
/
ci.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
41
42
43
44
45
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Testing
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: 0.11.0
- name: Setup Deno
uses: denoland/setup-deno@main
with:
deno-version: v1.x
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Run `zig build`
run: cd packages/core && zig build
- name: Run `deno test`
run: deno test -A
- name: Install dependencies
run: pnpm i
- name: Build webcomponent
run: cd packages/webcomponent && pnpm build