Skip to content

Add polyfills to get react-router framework mode HMR working #9

Add polyfills to get react-router framework mode HMR working

Add polyfills to get react-router framework mode HMR working #9

Workflow file for this run

name: "Test"
on:
push:
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/setup-test-env
- name: Cache Playwright browsers
uses: actions/cache@v3
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-playwright-
- name: Install Playwright browsers
shell: bash
run: pnpm exec playwright install --with-deps
- name: Test
shell: bash
run: pnpm test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/setup-test-env
- name: Lint
shell: bash
run: pnpm lint
build-js:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/setup-test-env
- name: Build
shell: bash
run: pnpm build