This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
VOTE-229: update cypress dependencies (#889) #998
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: Cypress - AXE accessibility testing | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
LANG: en_US.UTF-8 | |
LANGUAGE: en_US | |
LC_ALL: en_US.UTF-8 | |
steps: | |
- name: Checkout source. | |
uses: actions/checkout@v2 | |
- name: Install node.js. | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install NPM dependencies. | |
run: npm install | |
- name: Build and start up hugo server. | |
run: npm run build && npm run start & sleep 30s | |
- name: Run Cypress Axe tests. | |
run: npm run cy:axe |