Skip to content

Commit 5d387f5

Browse files
committed
try to fix workflow
1 parent c2e5300 commit 5d387f5

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.github/workflows/evm-tests.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,10 @@ jobs:
4040
uses: Swatinem/rust-cache@v2
4141

4242
- name: Set up Node.js
43-
uses: actions/setup-node@v2
43+
uses: actions/setup-node@v4
4444
with:
4545
node-version: "22"
4646

47-
- name: Install dependencies
48-
run: |
49-
sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
50-
sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" build-essential clang curl libssl-dev llvm libudev-dev protobuf-compiler nodejs pkg-config
51-
5247
- name: Run tests
5348
uses: nick-fields/retry@v3
5449
with:

evm-tests/get-metadata.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
rm -rf .papi
2-
npx -y polkadot-api add devnet -w ws://localhost:9944
2+
npx papi add devnet -w ws://localhost:9944
33

evm-tests/run-ci.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ fi
2828

2929
cd evm-tests
3030

31+
npm install -g polkadot-api
32+
3133
bash get-metadata.sh
3234

3335
sleep 5

0 commit comments

Comments
 (0)