replace stress_ng:cpu_all #670
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
build: npm run prebuild | |
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 |