mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-20 22:00:43 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user