-
Notifications
You must be signed in to change notification settings - Fork 19
40 lines (29 loc) · 787 Bytes
/
ci.yml
File metadata and controls
40 lines (29 loc) · 787 Bytes
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
name: TEALScript CI
on:
pull_request:
branches: [ main, dev ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run algokit localnet
run: pipx install algokit && algokit localnet start
- name: Install bun
run: npm i -g bun
- name: Install modules
run: bun install --frozen-lockfile
- name: Ensure version constant is up-to-date
run: bun scripts/version.ts
- name: Run TypeScript
run: bun tsc --noEmit
- name: Run ESLint
run: bun lint
- name: Run tests
run: bun test --timeout 30000
- name: Run examples
run: bun run-examples
- name: Compile all
run: bun compile-all
- name: Web test
run: bunx playwright install && bun web-test