Pin CI to Node 24

Use the same explicit LTS release for lint and Playwright jobs, cache the root npm install, and install only Chromium's headless shell in browser-test CI.
This commit is contained in:
Ophir LOJKINE
2026-07-18 00:05:43 +02:00
parent aa83898bf1
commit e6302767e8
+6 -2
View File
@@ -35,6 +35,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
cache: 'npm'
- run: npm ci
- run: npm test
- name: Set up cargo cache
@@ -195,11 +199,11 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: lts/*
node-version: 24
cache: 'npm'
cache-dependency-path: ./tests/end-to-end/package-lock.json
- run: sudo apt-get update && sudo apt-get install -y unixodbc-dev
- run: npm ci && npx playwright install --with-deps chromium
- run: npm ci && npx playwright install --with-deps --only-shell chromium
# The browser tests exercise the official site, but they do not need a
# separate Rust build. Reuse the binary compiled and tested above.
- name: Download Linux binary