Skip to content

Push subscription

Push subscription #44

Workflow file for this run

name: cypress-test.yml
on:
workflow_dispatch:
push:
branches:
- '*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
#- name: Set up Node.js
# uses: actions/setup-node@v3
# with:
# node-version: 20.9.0
# - name: Install dependencies
# run: npm install
# name: Start Angular app
# run: npm start &
#- name: Wait for Angular app to start
# run: npx wait-on http://localhost:4200
- name: Cypress run
uses: cypress-io/github-action@v6
with:
spec: cypress/e2e/all.cy.ts
browser: chrome
start: npm run start
wait-on: "http://localhost:4200"
- name: Stop Angular app
run: pkill -f "ng serve"