From d2ccdde1337f6672a910d1bf9a04f3890495103d Mon Sep 17 00:00:00 2001 From: pcheremu Date: Wed, 8 Nov 2023 13:04:38 +0100 Subject: [PATCH 1/3] test: update git runners --- .github/workflows/app-e2e.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/app-e2e.yml b/.github/workflows/app-e2e.yml index 42842c52cd..1f23889b1c 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: 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 From 3ecd5ab8b50fced78e17b5dabcd68e06546362e5 Mon Sep 17 00:00:00 2001 From: pcheremu Date: Wed, 8 Nov 2023 13:15:07 +0100 Subject: [PATCH 2/3] test: run without if --- .github/workflows/app-e2e.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.github/workflows/app-e2e.yml b/.github/workflows/app-e2e.yml index 1f23889b1c..c125d53a5e 100644 --- a/.github/workflows/app-e2e.yml +++ b/.github/workflows/app-e2e.yml @@ -64,22 +64,8 @@ jobs: with: fetch-depth: 0 - - name: Cache node modules - id: cache-nodemodules - uses: actions/cache@v3 - env: - cache-name: cache-node-modules - 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 }}- - - name: Install dependencies working-directory: ./ - if: steps.cache-nodemodules.outputs.cache-hit != 'true' run: | npm pkg delete scripts.prepare npm ci From 63f9fc841cf2a848361356d95a9b561a67c43b81 Mon Sep 17 00:00:00 2001 From: pcheremu Date: Wed, 8 Nov 2023 13:27:20 +0100 Subject: [PATCH 3/3] test: run in test mode --- .github/workflows/app-deploy-feature-branch.yml | 8 ++++---- .github/workflows/app-e2e.yml | 6 ++++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/app-deploy-feature-branch.yml b/.github/workflows/app-deploy-feature-branch.yml index 5b862b4edd..7801779b65 100644 --- a/.github/workflows/app-deploy-feature-branch.yml +++ b/.github/workflows/app-deploy-feature-branch.yml @@ -36,11 +36,11 @@ jobs: run: | npm run lint -- --no-fix --max-warnings 0 - - name: Test - run: npm run test:ci + # - name: Test + # run: npm run test:ci - - name: Type check - run: npm run typecheck + # - name: Type check + # run: npm run typecheck - name: Build run: | diff --git a/.github/workflows/app-e2e.yml b/.github/workflows/app-e2e.yml index c125d53a5e..28d60feacb 100644 --- a/.github/workflows/app-e2e.yml +++ b/.github/workflows/app-e2e.yml @@ -64,6 +64,12 @@ jobs: with: fetch-depth: 0 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + cache: 'npm' + - name: Install dependencies working-directory: ./ run: |