Skip to content

✏️ add suspense boundaries when using useSearchParams #4

✏️ add suspense boundaries when using useSearchParams

✏️ add suspense boundaries when using useSearchParams #4

Workflow file for this run

name: Cypress Tests
on: push
jobs:
cypress-run:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Cypress run
uses: cypress-io/github-action@v6
env:
APP_URL: "http://localhost:3000"
NEXT_PUBLIC_API_BASE_URL: "https://ignite-devstore-api.vercel.app"
with:
build: npm run build
start: npm start