Skip to content

build(deps): bump the frontend-deps group with 10 updates #789

build(deps): bump the frontend-deps group with 10 updates

build(deps): bump the frontend-deps group with 10 updates #789

Workflow file for this run

name: Cypress Tests
on:
push:
branches:
- "main"
pull_request:
branches:
- main
# TODO - there are improvements that can be made here in terms of caching
# https://docs.cypress.io/guides/continuous-integration/github-actions
# Keeping it simple for the beginning
jobs:
ui-chrome-tests:
if: ${{ github.event.pull_request.head.repo.full_name == 'PCSX2/pcsx2-net-www' && github.actor != 'dependabot[bot]' }}
name: "Chrome"
timeout-minutes: 15
runs-on: ubuntu-latest
container:
image: xtvaser/cypress-with-hugo:node14.17.0-chrome91-ff89
steps:
- name: Checkout
uses: actions/checkout@v4
# TODO - temporarily bypassed
# - name: "UI Tests - Chrome"
# uses: cypress-io/github-action@v2
# with:
# start: npm run hugo
# working-directory: tests
# wait-on: "http://localhost:1313"
# wait-on-timeout: 120
# browser: chrome
# record: true
# env:
# CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# # Recommended: pass the GitHub token lets this action correctly
# # determine the unique run id necessary to re-run the checks
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ui-chrome-tests-fork:
if: ${{ github.event.pull_request.head.repo.full_name != 'PCSX2/pcsx2-net-www' || github.actor == 'dependabot[bot]'}}
name: "Chrome | No Recording"
timeout-minutes: 15
runs-on: ubuntu-latest
container:
image: xtvaser/cypress-with-hugo:node14.17.0-chrome91-ff89
steps:
- name: Checkout
uses: actions/checkout@v4
# TODO - temporarily bypassed
# - name: "UI Tests - Chrome"
# uses: cypress-io/github-action@v2
# with:
# start: npm run hugo
# working-directory: tests
# wait-on: "http://localhost:1313"
# wait-on-timeout: 120
# browser: chrome
# record: false
# env:
# # Recommended: pass the GitHub token lets this action correctly
# # determine the unique run id necessary to re-run the checks
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ui-firefox-tests:
if: ${{ github.event.pull_request.head.repo.full_name == 'PCSX2/pcsx2-net-www' && github.actor != 'dependabot[bot]' }}
name: "Firefox"
timeout-minutes: 15
runs-on: ubuntu-latest
container:
image: xtvaser/cypress-with-hugo:node14.17.0-chrome91-ff89
options: --user 1001
steps:
- name: Checkout
uses: actions/checkout@v4
# TODO - temporarily bypassed
# - name: "UI Tests - Firefox"
# uses: cypress-io/github-action@v2
# with:
# start: npm run hugo
# working-directory: tests
# wait-on: "http://localhost:1313"
# wait-on-timeout: 120
# browser: firefox
# record: true
# env:
# CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# # Recommended: pass the GitHub token lets this action correctly
# # determine the unique run id necessary to re-run the checks
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ui-firefox-tests-fork:
if: ${{ github.event.pull_request.head.repo.full_name != 'PCSX2/pcsx2-net-www' || github.actor == 'dependabot[bot]' }}
name: "Firefox | No Recording"
timeout-minutes: 15
runs-on: ubuntu-latest
container:
image: xtvaser/cypress-with-hugo:node14.17.0-chrome91-ff89
options: --user 1001
steps:
- name: Checkout
uses: actions/checkout@v4
# TODO - temporarily bypassed
# - name: "UI Tests - Firefox"
# uses: cypress-io/github-action@v2
# with:
# start: npm run hugo
# working-directory: tests
# wait-on: "http://localhost:1313"
# wait-on-timeout: 120
# browser: firefox
# record: false
# env:
# CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# # Recommended: pass the GitHub token lets this action correctly
# # determine the unique run id necessary to re-run the checks
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}