Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: update git runners #82

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/app-deploy-feature-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
20 changes: 6 additions & 14 deletions .github/workflows/app-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ env:

jobs:
e2e:
runs-on: [self-hosted, ci-runner]
runs-on: [matterlabs-ci-runner]
permissions:
contents: read
defaults:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading