-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (36 loc) · 1.07 KB
/
ci-dev-app.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
name: ci-dev-app
defaults:
run:
working-directory: packages/app
on:
workflow_dispatch:
push:
branches: [ "main*" ]
paths:
- "packages/app/**"
jobs:
test:
runs-on: ubuntu-latest
environment: dev
steps:
- uses: actions/checkout@v3
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- name: Install dependencies
run: yarn install
- name: Run Tests
run: yarn run test
env:
# the environment variables below should be removed when we configure the secrets in github
NEXT_PUBLIC_SUPABASE_URL: your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY: your_supabase_anon_key
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID: your_wallet_connect_project_id
SUPABASE_SERVICE_ROLE_KEY: your_supabase_service_role_key
API_BASE_URL: http://localhost:3001
APP_BASE_URL: http://localhost:3000