Skip to content

🐛 Fix double-rendering live regions #279

🐛 Fix double-rendering live regions

🐛 Fix double-rendering live regions #279

Workflow file for this run

name: PR Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 21
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 21
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Get installed Playwright version
id: playwright_version
run: echo VERSION="$(node -e "console.log(require('./package-lock.json').packages['node_modules/playwright'].version)")" >> $GITHUB_OUTPUT
- name: Cache playwright binaries
uses: actions/cache@v4
id: playwright_cache
with:
path: |
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ steps.playwright_version.outputs.VERSION }}
- run: npx playwright install chromium
if: steps.playwright_cache.outputs.cache-hit != 'true'
- run: npx playwright install firefox
if: steps.playwright_cache.outputs.cache-hit != 'true'
- name: Run test
run: npm run test