Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22, 24]
steps:
- uses: actions/checkout@v4
- name: Use Node.js
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 22
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm install
- run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm ci
Expand Down
21 changes: 21 additions & 0 deletions install-browsers.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash
# Install Playwright browsers for testing
# This downloads the browsers to ~/.cache/ms-playwright/

set -e

echo "Installing Playwright browsers..."

# Download chromium
wget -q --show-progress -O /tmp/chromium.zip "https://cdn.playwright.dev/dbazure/download/playwright/builds/chromium/1194/chromium-linux.zip"
mkdir -p ~/.cache/ms-playwright/chromium-1194
unzip -q /tmp/chromium.zip -d ~/.cache/ms-playwright/chromium-1194
rm /tmp/chromium.zip

# Download chromium headless shell
wget -q --show-progress -O /tmp/chromium-headless-shell.zip "https://cdn.playwright.dev/dbazure/download/playwright/builds/chromium/1194/chromium-headless-shell-linux.zip"
mkdir -p ~/.cache/ms-playwright/chromium_headless_shell-1194
unzip -q /tmp/chromium-headless-shell.zip -d ~/.cache/ms-playwright/chromium_headless_shell-1194
rm /tmp/chromium-headless-shell.zip

echo "Playwright browsers installed successfully!"
35 changes: 0 additions & 35 deletions karma.config.cjs

This file was deleted.

Loading
Loading