Skip to content

feat(universal-router-sdk): Bump router-sdk version #1583

feat(universal-router-sdk): Bump router-sdk version

feat(universal-router-sdk): Bump router-sdk version #1583

Workflow file for this run

name: "Code Quality Checks"
on:
workflow_call:
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
build-and-test:
name: Lint, Build, and Test
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
defaults:
run:
working-directory: ./
steps:
- uses: bullfrogsec/bullfrog@dcde5841b19b7ef693224207a7fdec67fce604db # v0.8.3
with:
# List of IPs to allow outbound connections to.
# By default, only localhost and IPs required for the essential operations of Github Actions are allowed.
#allowed-ips: |
# List of domains to allow outbound connections to.
# Wildcards are accepted. For example, if allowing `*.google.com`, this will allow `www.google.com`, `console.cloud.google.com` but not `google.com`.
# By default, only domains required for essential operations of Github Actions and uploading job summaries are allowed.
# Refer to https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#communication-requirements-for-github-hosted-runners-and-github for additional domains that should be allowed for additional Github Actions features.
#allowed-domains:
# The egress policy to enforce. Valid values are `audit` and `block`.
# Default: audit
egress-policy: audit
- name: ✅ Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
with:
submodules: "recursive"
fetch-depth: 2
- name: 💽 Node and Caching
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7
with:
cache: yarn
node-version: 22
- name: 📥 yarn install
shell: bash
working-directory: ./
run: |
yarn --immutable
env:
# CI optimizations. Overrides yarnrc.yml options (or their defaults) in the CI action.
YARN_ENABLE_GLOBAL_CACHE: "false" # Use local cache folder to keep downloaded archives
YARN_NM_MODE: "hardlinks-local" # Hardlinks-local reduces io / node_modules size
HUSKY: "0" # By default do not run HUSKY install
- name: 🔬 Lint
run: yarn g:lint
- name: 🏗 Build
run: yarn g:build
- name: 🪨 Install Foundry
uses: foundry-rs/foundry-toolchain@82dee4ba654bd2146511f85f0d013af94670c4de # v1
with:
version: nightly
- name: 🧪 Testing
uses: nick-fields/retry@7d4a37704547a311dbb66ebdf5b23ec19374a767
env:
FORK_URL: ${{ secrets.FORK_URL }}
FORK_URL_8453: ${{ secrets.FORK_URL_8453 }}
with:
timeout_minutes: 20
retry_wait_seconds: 2
max_attempts: 3
command: yarn g:test