File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : CI
4+
5+ on :
6+ push :
7+ branches : [ master ]
8+ pull_request :
9+ branches : [ master ]
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v2
17+
18+ - name : Setup Node.js environment
19+ 20+
21+ - name : Install npm dependencies
22+ run : npm ci
23+
24+ - name : Unit tests
25+ run : npm run test
26+
27+ - name : Setup PostgreSQL
28+ 29+ with :
30+ postgresql db : vrt_db_dev
31+ postgresql user : postgres
32+ postgresql password : postgres
33+
34+ - name : Wait untill DB started (workaround of https://github.com/Harmon758/postgresql-action/issues/7)
35+ uses :
jakejarvis/[email protected] 36+ with :
37+ time : ' 5s'
38+
39+ - name : Apply DB migrations
40+ run : npx prisma migrate up -c --experimental
41+
42+ - name : Run e2e tests
43+ run : npm run test:e2e
You can’t perform that action at this time.
0 commit comments