testing e2e github workflow fix #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: End-To-End Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.17.0 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "^1.22.3" | |
- run: docker compose -f docker-compose.yml -f docker-compose.e2e.yml up -d | |
- run: npm ci | |
- run: npx prisma generate | |
- run: make db push | |
- run: make seed | |
- run: npm run e2e | |