-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (38 loc) · 1.05 KB
/
build.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
name: Build
on:
push:
branches: [develop-firebase, main]
pull_request:
branches: [develop-firebase, main]
workflow_dispatch:
jobs:
flake-health-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check Flake Health
uses: DeterminateSystems/flake-checker-action@v9
build:
runs-on: ubuntu-latest
needs: flake-health-check
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v14
- name: Run Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Run Nix Flake Checks
run: |
nix flake check
- name: Install Dependencies
run: |
nix develop -c pnpm install
- name: Run Unit Tests
run: |
nix develop -c pnpm run test:unit
- name: Run Integration Tests
run: |
nix develop -c pnpm exec playwright install
nix develop -c pnpm run test:integration