mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
bump node version
This commit is contained in:
parent
0c56c3d1f9
commit
73b209a5f6
1 changed files with 27 additions and 27 deletions
42
.github/workflows/e2e.yml
vendored
42
.github/workflows/e2e.yml
vendored
|
|
@ -2,36 +2,36 @@ name: E2E Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
e2e-tests:
|
e2e-tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: "24"
|
||||||
cache: 'npm'
|
cache: "npm"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: npm test
|
run: npm test
|
||||||
|
|
||||||
- name: Run E2E tests
|
- name: Run E2E tests
|
||||||
run: npm run test:e2e
|
run: npm run test:e2e
|
||||||
|
|
||||||
- name: Clean up Docker resources
|
- name: Clean up Docker resources
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
# Clean up any remaining containers and images
|
# Clean up any remaining containers and images
|
||||||
docker ps -aq --filter "name=safe-chain-e2e-test" | xargs -r docker rm -f
|
docker ps -aq --filter "name=safe-chain-e2e-test" | xargs -r docker rm -f
|
||||||
docker images -q safe-chain-e2e-test | xargs -r docker rmi -f
|
docker images -q safe-chain-e2e-test | xargs -r docker rmi -f
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue