chore: auto update tools in README (#219)

Motivation: Keeping the readme up to date is a manual effort - this
keeps it automatically up to date and prevents things like
https://github.com/microsoft/playwright-mcp/pull/214 and other
consistency errors in the future.
This commit is contained in:
Max Schmitt
2025-04-21 20:22:57 +02:00
committed by GitHub
parent 7695717546
commit 0c3792d231
4 changed files with 291 additions and 40 deletions

View File

@@ -7,7 +7,25 @@ on:
branches: [ main ]
jobs:
build-and-test:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- run: npm run build
- name: Run ESLint
run: npm run lint
- run: npm run update-readme
- name: Ensure no changes
run: git diff --exit-code
test:
strategy:
fail-fast: false
matrix:
@@ -33,9 +51,6 @@ jobs:
if: ${{ matrix.os == 'macos-latest' }} # MS Edge is not preinstalled on macOS runners.
run: npx playwright install msedge
- name: Run linting
run: npm run lint
- name: Build
run: npm run build