mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Improve e2e tests: add npm install tests, add test matrix
This commit is contained in:
parent
45b43366d2
commit
753f3cd837
5 changed files with 172 additions and 35 deletions
17
.github/workflows/test-on-pr.yml
vendored
17
.github/workflows/test-on-pr.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue