npm run prettier-fix

This commit is contained in:
Marc Abramowitz 2025-06-06 18:19:56 -07:00
commit 66ad85aadc

View file

@ -2,26 +2,26 @@ name: Playwright Tests
on: on:
push: push:
branches: [ main ] branches: [main]
pull_request: pull_request:
branches: [ main ] branches: [main]
jobs: jobs:
test: test:
timeout-minutes: 5 timeout-minutes: 5
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
# Cache Playwright browsers # Cache Playwright browsers
- name: Cache Playwright browsers - name: Cache Playwright browsers
id: cache-playwright id: cache-playwright
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: ~/.cache/ms-playwright # The default Playwright cache path path: ~/.cache/ms-playwright # The default Playwright cache path
key: ${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }} # Cache key based on OS and package-lock.json key: ${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }} # Cache key based on OS and package-lock.json
@ -29,14 +29,14 @@ jobs:
${{ runner.os }}-playwright- ${{ runner.os }}-playwright-
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
- name: Install Playwright and browsers unless cached - name: Install Playwright and browsers unless cached
run: npx playwright install --with-deps run: npx playwright install --with-deps
if: steps.cache-playwright.outputs.cache-hit != 'true' if: steps.cache-playwright.outputs.cache-hit != 'true'
- name: Start Server - name: Start Server
run: npm run start run: npm run start
- name: Wait for server to start - name: Wait for server to start
run: npx wait-on http://localhost:6274 run: npx wait-on http://localhost:6274