tack-up-now/.gitea/workflows/test.yaml

26 lines
592 B
YAML

name: Test
run-name: Test?
on: [push]
jobs:
test:
runs-on: ubuntu-latest
container: mcr.microsoft.com/playwright:v1.48.1-jammy
steps:
- uses: actions/checkout@v4
- uses: ikalnytskyi/action-setup-postgres@v6
with:
username: postgres
password: testpassword
database: test
port: 5434
postgres-version: "14"
ssl: "on"
- name: Run Tests
env: NODE_OPTIONS=--max-old-space-size=8192
run: |
npm install
npm run test
npm ci
npx playwright test