File tree Expand file tree Collapse file tree 10 files changed +51
-199
lines changed
Expand file tree Collapse file tree 10 files changed +51
-199
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy Web to Vercel
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - master
8+ workflow_dispatch :
9+
10+ jobs :
11+ build-and-deploy :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v5
16+
17+ - name : Setup Node
18+ uses : actions/setup-node@v5
19+ with :
20+ node-version : " 22"
21+ cache : npm
22+ cache-dependency-path : package-lock.json
23+
24+ - name : Install dependencies
25+ run : npm ci
26+
27+ - name : Build web assets
28+ run : npm run build
29+
30+ - name : Deploy to Vercel
31+ uses : amondnet/vercel-action@v25
32+ with :
33+ vercel-token : ${{ secrets.VERCEL_TOKEN }}
34+ vercel-org-id : ${{ secrets.VERCEL_ORG_ID }}
35+ vercel-project-id : ${{ secrets.VERCEL_PROJECT_ID }}
36+ vercel-args : " --prod"
Original file line number Diff line number Diff line change 1- name : Unified Service Tests
1+ name : Root App Checks
22
33on :
44 workflow_dispatch :
55
66jobs :
7- test :
7+ checks :
88 runs-on : ubuntu-latest
99
1010 steps :
1111 - name : Checkout
12- uses : actions/checkout@v4
12+ uses : actions/checkout@v5
1313
14- - name : Setup Python
15- uses : actions/setup-python @v5
14+ - name : Setup Node
15+ uses : actions/setup-node @v5
1616 with :
17- python-version : " 3.11"
17+ node-version : " 22"
18+ cache : npm
19+ cache-dependency-path : package-lock.json
1820
1921 - name : Install deps
20- run : |
21- python -m pip install --upgrade pip
22- pip install -r services/unified/requirements.txt
23- pip install pytest
22+ run : npm ci
2423
25- - name : Run tests
26- env :
27- UNIFIED_MODE : forward
28- PYTHONPATH : services/unified
29- run : |
30- python -m pytest -q services/unified/tests
24+ - name : Lint
25+ run : npm run lint
Original file line number Diff line number Diff line change @@ -49,3 +49,5 @@ app-example
4949.vercel
5050
5151.vercel
52+
53+ .vercel
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- 20
1+ 20
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1414 " .expo/types/**/*.ts" ,
1515 " expo-env.d.ts"
1616 ]
17- }
17+ }
You can’t perform that action at this time.
0 commit comments