feat(extension): [LW-9230] add multi delegation and dapp issues modal #6310
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |