Improve e2e tests: add npm install tests, add test matrix

This commit is contained in:
Sander Declerck 2025-09-16 10:53:19 +02:00
parent 45b43366d2
commit 753f3cd837
No known key found for this signature in database
5 changed files with 172 additions and 35 deletions

View file

@ -40,6 +40,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- node_version: "lts"
npm_version: "latest"
yarn_version: "latest"
pnpm_version: "latest"
- node_version: "22"
npm_version: "10.0.0"
yarn_version: "latest"
pnpm_version: "latest"
steps:
- name: Checkout code
uses: actions/checkout@v4
@ -53,6 +65,11 @@ jobs:
run: npm ci
- name: Run E2E tests
env:
NODE_VERSION: ${{ matrix.node_version }}
NPM_VERSION: ${{ matrix.npm_version }}
YARN_VERSION: ${{ matrix.yarn_version }}
PNPM_VERSION: ${{ matrix.pnpm_version }}
run: npm run test:e2e
- name: Clean up Docker resources