[Snyk] Upgrade @tanstack/react-query from 5.45.1 to 5.48.0 #1692
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: Cypress | |
on: | |
push: | |
branches: [develop] | |
pull_request: | |
branches: [main, develop] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Cypress testing | |
runs-on: ubuntu-latest | |
env: | |
NEXT_PUBLIC_API_HOST: https://prod-mong-api.skde.org | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- name: Enable Corepack before setting up Node | |
run: corepack enable | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "yarn" | |
- run: corepack enable && yarn install | |
- run: yarn workspace skde run build | |
- name: Cypress run | |
uses: cypress-io/github-action@v6.7.1 | |
with: | |
working-directory: ./apps/skde | |
build: yarn export | |
start: yarn start-server | |
browser: chrome | |
- name: Archive production artifacts | |
if: failure() | |
uses: actions/upload-artifact@v4.3.3 | |
with: | |
name: cypress videos | |
path: apps/skde/cypress/videos | |
retention-days: 1 |