Bump tough-cookie and @cypress/request in /tests/tests_cypress/validateHTML #170
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: "Validate HTML" | |
on: | |
pull_request: | |
push: | |
workflow_call: | |
workflow_dispatch: | |
jobs: | |
smoke_job: | |
name: Cypress Validate HTML | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: run server with the front of the game | |
run: python3 -m http.server 8080 & | |
- name: check whether game is UP | |
run: | | |
curl -X GET "http://localhost:8080/" | |
- name: cypress run | |
uses: cypress-io/github-action@v5 | |
with: | |
working-directory: tests/tests_cypress/validateHTML | |
start: | | |
npm install --save-dev html-validate cypress-html-validate | |
npm run start |