-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (38 loc) · 925 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
41
42
43
44
45
46
47
48
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: mynance
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- name: checkout branch
uses: actions/checkout@v3
- name: Make envfile
uses: SpicyPizza/[email protected]
with:
SERVER_DATABASE_URL: postgresql://postgresql:postgresql@localhost:5432/mynance
- name: Install dependecies
run: yarn
- name: Install playwright driver
run: yarn playwright install chromium
- name: Run CI
run: yarn ci