Skip to content

Commit a5495c1

Browse files
committed
chore: ran formatter
1 parent ba2b5f8 commit a5495c1

File tree

6 files changed

+778
-4
lines changed

6 files changed

+778
-4
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Tests [evault-core + web3-adapter Integration]
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
paths:
9+
- 'infrastructure/evault-core/**'
10+
- 'infrastructure/web3-adapter/**'
11+
12+
jobs:
13+
test-web3-adapter-integration:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Node.js 22
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: 22
24+
25+
- name: Install build dependencies
26+
run: |
27+
sudo apt-get update
28+
sudo apt-get install -y build-essential python3
29+
30+
- name: Install pnpm
31+
run: npm install -g pnpm
32+
33+
- name: Install dependencies
34+
run: pnpm install
35+
36+
- name: Clean and rebuild native modules
37+
run: |
38+
# Remove any pre-built binaries that might be incompatible
39+
find node_modules -name "sshcrypto.node" -delete 2>/dev/null || true
40+
find node_modules -path "*/ssh2/lib/protocol/crypto/build/Release/sshcrypto.node" -delete 2>/dev/null || true
41+
# Rebuild ssh2 specifically for this platform
42+
pnpm rebuild ssh2
43+
# Rebuild all other native modules
44+
pnpm rebuild
45+
46+
- name: Build web3-adapter
47+
run: pnpm -F=web3-adapter build
48+
49+
- name: Run evault-core + web3-adapter integration tests
50+
env:
51+
CI: true
52+
GITHUB_ACTIONS: true
53+
DOCKER_HOST: unix:///var/run/docker.sock
54+
TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE: /var/run/docker.sock
55+
TESTCONTAINERS_RYUK_DISABLED: false
56+
TESTCONTAINERS_HOST_OVERRIDE: localhost
57+
run: pnpm -F=evault-core test:e2e:web3-adapter
58+

0 commit comments

Comments
 (0)