-
-
Notifications
You must be signed in to change notification settings - Fork 762
46 lines (33 loc) · 902 Bytes
/
main.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
46
name: Main CI
on: [push, pull_request]
jobs:
main-ci:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Install Dependencies
run: bun install
- name: Install Playwright Browsers
run: bun playwright install --with-deps
- name: Check Format
run: bun format:check
- name: Lint
run: bun lint
- name: Typecheck
run: bun typecheck
- name: Unit tests
run: bun test
- name: Build
run: bun run build
- name: Run Playwright tests
run: bun playwright test
- name: Upload Playwright report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30