Skip to content

fix(basius): [OPE-1816] Aerodrome branding + msUSD token logo #289

fix(basius): [OPE-1816] Aerodrome branding + msUSD token logo

fix(basius): [OPE-1816] Aerodrome branding + msUSD token logo #289

name: Check Pull Request
on:
pull_request:
branches:
- '**' # Triggers on all branches
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Setup Node.js
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
with:
node-version: '24.x'
cache: 'yarn'
- name: Activate pinned Yarn via Corepack
# Without this, the `packageManager` pin in package.json is silently
# ignored and CI falls back to whichever yarn ships with the runner.
run: |
corepack enable
corepack prepare yarn@1.22.22 --activate
[ "$(yarn --version)" = "1.22.22" ] || { echo "::error::corepack activation failed"; exit 1; }
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run Nx Lint
run: yarn nx run-many --target=lint --all --skip-nx-cache
- name: Test
run: yarn nx run-many --target=test --all --skip-nx-cache --passWithNoTests
all-checks-passed:
name: All checks passed
if: always()
needs: [lint]
runs-on: ubuntu-latest
steps:
- name: Verify all required jobs succeeded
run: |
if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }}" == "true" ]]; then
echo "One or more required jobs did not succeed."
exit 1
fi