Improve CI pipelines

- drop custom container, we don't want to maintain a hand-crafter
  container anymore
- use .nvmrc node version as single source of truth, also in gh actions
- bump playwright version, required to work on node >=24
This commit is contained in:
Rūdolfs Ošiņš
2026-05-13 12:31:36 +02:00
parent 2e5e7415c1
commit 2b001b59c8
6 changed files with 48 additions and 49 deletions
+2 -11
View File
@@ -9,20 +9,11 @@ env:
jobs:
unit-tests:
runs-on: ubuntu-latest
container:
image: node:22.11.0
steps:
- uses: actions/checkout@v6
- name: Cache node_modules
id: cache-npm
uses: actions/cache@v5
- uses: actions/setup-node@v6
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
node-version-file: ".nvmrc"
- run: npm ci
if: steps.cache-npm.outputs.cache-hit != 'true'
- run: npm run test:unit