e2e tests

This commit is contained in:
SPRINX0\prochazka
2024-12-06 16:38:42 +01:00
parent 22b47d1066
commit 7e119d40a4
4 changed files with 13 additions and 7 deletions

View File

@@ -12,6 +12,9 @@ jobs:
container: node:18
steps:
- name: Install dependencies
run: |
apt-get install libgtk2.0-0t64 libgtk-3-0t64 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb
- name: Context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
@@ -26,13 +29,10 @@ jobs:
uses: cypress-io/github-action@v6
with:
build: yarn prepare:packer
start: node packer/build/bundle.js --listen-api
start: node packer/build/bundle.js --listen-api --static-dir packer/build/public
with:
project: ./e2e-tests
- name: Cypress run
uses: cypress-io/github-action@v6
with:
build: npm run build
start: npm start
services:
mysql: