File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed
Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run E2E Tests
2+
3+ on : [pull_request]
4+
5+ jobs :
6+ run-e2e-tests :
7+ name : Run E2E Tests
8+ runs-on : ubuntu-latest
9+
10+ services :
11+ postgres :
12+ image : bitnami/postgresql
13+ ports :
14+ - 5432:5432
15+ env :
16+ POSTGRES_USER : postgresql
17+ POSTGRES_PASSWORD : docker
18+ POSTGRES_DB : vuttr_postgres
19+
20+ steps :
21+ - uses : actions/checkout@v3
22+
23+ - uses : actions/setup-node@v3
24+ with :
25+ node-version : 20
26+ cache : ' yarn'
27+
28+ - run : yarn install --frozen-lockfile
29+
30+ - run : yarn test:e2e
31+ env :
32+ JWT_SECRET : secret
33+ DATABASE_URL : " postgresql://postgresql:docker@localhost:5432/vuttr_postgres?schema=public"
Original file line number Diff line number Diff line change 1+ name : Run Unit Tests
2+
3+ on : [push]
4+
5+ jobs :
6+ run-unit-tests :
7+ name : Run Unit Tests
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - uses : actions/checkout@v3
12+
13+ - uses : actions/setup-node@v3
14+ with :
15+ node-version : 20
16+ cache : ' yarn'
17+
18+ - run : yarn install --frozen-lockfile
19+
20+ - run : yarn test
You can’t perform that action at this time.
0 commit comments