Skip to content

fix: multi-wallet timeline container on small screen #6219

fix: multi-wallet timeline container on small screen

fix: multi-wallet timeline container on small screen #6219

name: packages/staking
# Triggering this workflow:
# 1. Push to main/release branch
# 2. Pushing to Pull Request with "staking" label
# 3. Adding "staking" label to Pull Request
on:
pull_request:
push:
branches:
- 'main'
- 'release/**'
jobs:
build_staking:
name: Build Staking Center
runs-on: self-hosted
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'yarn'
- name: Node modules cache
uses: actions/cache@v4
with:
path: |
node_modules
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Install dependencies
run: yarn install --immutable --inline-builds
- name: Check for linter issues
run: yarn workspace @lace/staking lint:all
- name: Build dependencies of Staking Center
run: yarn staking build-deps
- name: Run tests
run: yarn workspace @lace/staking test:unit
- name: Build Staking dist
env:
NODE_OPTIONS: '--max_old_space_size=8192'
run: yarn workspace @lace/staking build