-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (31 loc) · 884 Bytes
/
ci.yaml
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
name: CI
on: push
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.9.0
run_install: false
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- uses: actions/setup-python@v5
with:
python-version: 3.12
- uses: abatilo/actions-poetry@v3
with:
poetry-version: 1.8
- name: 'Create env file'
run: |
touch .env
echo DATABASE_URL=${{ secrets.DATABASE_URL }} >> .env
echo SUPABASE_URL=${{ secrets.SUPABASE_URL }} >> .env
echo SUPABASE_KEY=${{ secrets.SUPABASE_KEY }} >> .env
echo RESEND_API_KEY=${{ secrets.RESEND_API_KEY }} >> .env
- run: pnpm install
- run: pnpm test
- run: pnpm lint