From e43d87ad5e5f32b56b1ad9b7ef9c54bcd1590f49 Mon Sep 17 00:00:00 2001 From: Aleksandr Stepanov Date: Tue, 17 Oct 2023 11:40:34 +0300 Subject: [PATCH] ci: migration from ci-runner to matterlabs-ci-runner (#32) --- .github/workflows/app-e2e.yml | 6 ++++-- .github/workflows/release.yml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/app-e2e.yml b/.github/workflows/app-e2e.yml index 42842c52cd..e288cd6a8e 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: @@ -58,7 +58,7 @@ jobs: name: '${{ matrix.tags }}' container: image: mcr.microsoft.com/playwright:v1.27.0-focal - options: --user root + options: --user 1001 steps: - uses: actions/checkout@v3 with: @@ -69,6 +69,8 @@ jobs: uses: actions/cache@v3 env: cache-name: cache-node-modules + # Workaround for bug https://github.com/typicode/husky/issues/991 + HUSKY: 0 with: path: node_modules key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0636bd2ca..74b9091810 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