From 0a4887dc3e6289e41e2da82b20beb3ff8e0c6a31 Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Tue, 21 May 2024 12:58:22 +0200 Subject: [PATCH] update gh action --- .github/workflows/e2e-tests.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e-tests.yaml b/.github/workflows/e2e-tests.yaml index f41c8f5a72..4efba3744a 100644 --- a/.github/workflows/e2e-tests.yaml +++ b/.github/workflows/e2e-tests.yaml @@ -17,12 +17,6 @@ jobs: - name: Checkout the source code uses: actions/checkout@v4 - - name: setup node - uses: actions/setup-node@v4 - with: - node-version: 18.x - cache: 'yarn' - - name: Install deps run: sudo apt -y install protobuf-compiler @@ -43,6 +37,13 @@ jobs: cp target/release/wbuild/astar-runtime/astar_runtime.compact.compressed.wasm e2e-tests/wasm/astar_runtime.wasm cp target/release/wbuild/shiden-runtime/shiden_runtime.compact.compressed.wasm e2e-tests/wasm/shiden_runtime.wasm + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 18.x + cache: 'yarn' + cache-dependency-path: e2e-tests/yarn.lock + - name: Run e2e test with new runtimes env: ASTAR_WASM: wasm/astar_runtime.wasm