mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
25 lines
550 B
YAML
25 lines
550 B
YAML
name: 'End-to-end tests'
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened]
|
|
push:
|
|
|
|
jobs:
|
|
e2e_tests:
|
|
name: 'End-to-end tests'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
- name: 'Run app with anonymous data'
|
|
run: npm run start:anon -- -d
|
|
- name: 'Install root dependencies'
|
|
run: npm ci
|
|
- name: 'Generate prisma clients'
|
|
run: npm run prisma
|
|
- name: 'Run cypress'
|
|
run: npm test
|