Skip to content

Merge branch 'DEV-348' of github.com:SpareCores/sc-www into DEV-348 #532

Merge branch 'DEV-348' of github.com:SpareCores/sc-www into DEV-348

Merge branch 'DEV-348' of github.com:SpareCores/sc-www into DEV-348 #532

Workflow file for this run

name: Tests
on: [push]
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install modules
run: npm install --include=dev
- name: Run ESLint
run: npm run lint
cypress-run:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Cypress run
uses: cypress-io/github-action@v6
with:
start: npm start
wait-on: 'http://localhost:4200'
env:
CYPRESS_BASE_URL: http://localhost:4200
NG_APP_BACKEND_BASE_URI: https://keeper.sparecores.net
NG_APP_BACKEND_BASE_URI_SSR: https://keeper.sparecores.net
- uses: actions/upload-artifact@v4
if: always()
with:
name: cypress-screenshots
path: cypress/screenshots
if-no-files-found: ignore