Skip to content

feat(extension) add FOOR buy ADA button to Banxa [LW-5104],[LW-10213] #6304

feat(extension) add FOOR buy ADA button to Banxa [LW-5104],[LW-10213]

feat(extension) add FOOR buy ADA button to Banxa [LW-5104],[LW-10213] #6304

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
run: yarn workspace @lace/staking build