🚧 Add new member pages #1254
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 webforms-ui | |
on: [push] | |
env: | |
REACT_APP_API_BASE_URL: ${{ secrets.API_BASE_URL }} | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-20.04 | |
name: cypress webforms-ui on chrome | |
environment: cypress | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Generate package-lock | |
run: npm install | |
- uses: cypress-io/github-action@v6 | |
with: | |
install-command: npm install | |
browser: chrome | |
record: true | |
parallel: true | |
start: npm run start | |
wait-on: 'http://localhost:3000' | |
config: baseUrl=http://localhost:3000 | |
env: | |
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
# Pass GitHub token to allow accurately detecting a build vs a re-run build | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: cypress-screenshots | |
path: cypress/screenshots |