fix: use url hash for active tab state #23
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: Viewer Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# cancel any prior runs for this workflow and this PR (or branch) | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
viewer: | |
name: Test PDL live viewer | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./pdl-live-react | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install dependencies | |
run: yarn | |
- name: Install Playwright Browsers | |
run: yarn playwright install --with-deps | |
- name: Test pdl-live viewer | |
run: yarn test |