Skip to content

fix wrong variables #215

fix wrong variables

fix wrong variables #215

Workflow file for this run

name: CI Tests for Web-App
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install server
uses: actions/setup-node@v3
with:
node-version: "16"
cache: "npm"
- name: Install via yarn
run: yarn
- name: Web-Server Build (includes building the Web-App)
run: yarn workspace @ak/web-server run build
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v5
with:
start: yarn workspace @ak/web-app start-server-headless
working-directory: apps/web-app
wait-on: "http://localhost:3000"
config: baseUrl=http://localhost:3000
record: true
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}