From 96bce3722c9b008210e1105d748c8b7c4cc0985f Mon Sep 17 00:00:00 2001 From: pcheremu Date: Wed, 8 Nov 2023 14:04:14 +0100 Subject: [PATCH] test: fix git runner and test issues --- .github/workflows/app-e2e.yml | 18 +++++------------- .github/workflows/release.yml | 2 +- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/app-e2e.yml b/.github/workflows/app-e2e.yml index 42842c52cd..f9b5416559 100644 --- a/.github/workflows/app-e2e.yml +++ b/.github/workflows/app-e2e.yml @@ -33,7 +33,7 @@ env: jobs: e2e: - runs-on: [self-hosted, ci-runner] + runs-on: [matterlabs-ci-runner] permissions: contents: read defaults: @@ -64,22 +64,14 @@ jobs: with: fetch-depth: 0 - - name: Cache node modules - id: cache-nodemodules - uses: actions/cache@v3 - env: - cache-name: cache-node-modules + - name: Setup Node.js + uses: actions/setup-node@v3 with: - path: node_modules - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}- - ${{ runner.os }}-build- - ${{ runner.os }}- + node-version: '18' + cache: 'npm' - name: Install dependencies working-directory: ./ - if: steps.cache-nodemodules.outputs.cache-hit != 'true' run: | npm pkg delete scripts.prepare npm ci diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 441cab4269..4c9060f634 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,7 +55,7 @@ jobs: deployBackendToStaging: name: Deploy Block Explorer backend to staging - runs-on: [self-hosted, ci-runner] + runs-on: [matterlabs-ci-runner] permissions: contents: read needs: createReleaseVersion