Skip to content

webapp/cypress: simplify conf #2567

webapp/cypress: simplify conf

webapp/cypress: simplify conf #2567

Workflow file for this run

name: lint-test-build
on: [push]
permissions:
contents: read
jobs:
test-webapp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
submodules: true
- uses: actions/cache@v4
with:
path: datasets
key: datasets-${{ hashFiles('datasets/**') }}
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- run: npm ci
- run: npm --workspace={discojs,discojs-web} run build
- run: npm --workspace=webapp run test:unit
- uses: cypress-io/github-action@v6
with:
working-directory: webapp
install: false
start: npm start
env:
VITE_SERVER_URL: http://server