Skip to content

🧪CI pipeline setup #1

🧪CI pipeline setup

🧪CI pipeline setup #1

Workflow file for this run

name: Tests
on:

Check failure on line 2 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
push:
branches:
- main
- feature/login
paths:
- 'backend/**'
pull_request:
branches:
- main
- feature/login
paths:
- 'backend/**'
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432
NODE_ENV: test
jobs:
integration-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/build
- uses: ./.github/actions/docker-compose
- name: Run tests
run: pnpm run ./backend/test:int