-
Notifications
You must be signed in to change notification settings - Fork 74
38 lines (34 loc) · 935 Bytes
/
Copy pathui-unit-test.yml
File metadata and controls
38 lines (34 loc) · 935 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
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: UI Unit Tests
on:
push:
paths:
- app/**
- .github/**
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: "24"
cache: npm
cache-dependency-path: ./app/package-lock.json
- name: Install
run: npm ci
working-directory: ./app
- name: Generate Expo types
run: npx expo customize tsconfig.json
working-directory: ./app
- name: Typecheck
run: npm run typecheck
working-directory: ./app
- name: Lint
run: npm run lint
working-directory: ./app
- name: Test
run: npm test
working-directory: ./app