Skip to content

feat: WM on Test wallet #3854

feat: WM on Test wallet

feat: WM on Test wallet #3854

Workflow file for this run

name: CI
on:
push:
branches:
- '!main'
pull_request:
types:
- opened
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
checks:
name: ESLint and Prettier checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/setup
- run: pnpm checks
build-wallet-frontend:
name: WALLET - Build frontend
runs-on: ubuntu-latest
needs: checks
if: >
contains(github.event.pull_request.labels.*.name, 'package: wallet/frontend')
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/setup
- run: pnpm wallet:frontend build
build-boutique-frontend:
name: BOUTIQUE - Build frontend
runs-on: ubuntu-latest
needs: checks
if: >
contains(github.event.pull_request.labels.*.name, 'package: boutique/frontend')
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/setup
- run: pnpm boutique:frontend build
build-wallet-backend:
name: WALLET - Build backend
runs-on: ubuntu-latest
needs: checks
if: >
contains(github.event.pull_request.labels.*.name, 'package: wallet/backend')
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/setup
- run: pnpm wallet:backend build
build-boutique-backend:
name: BOUTIQUE - Build backend
runs-on: ubuntu-latest
needs: checks
if: >
contains(github.event.pull_request.labels.*.name, 'package: boutique/backend')
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/setup
- run: pnpm boutique:backend build
test-wallet-backend:
name: WALLET - Test backend
runs-on: ubuntu-latest
needs: build-wallet-backend
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/setup
- run: pnpm wallet:backend build && pnpm wallet:backend test --detectOpenHandles --forceExit
test-boutique-backend:
name: BOUTIQUE - Test backend
runs-on: ubuntu-latest
needs: build-boutique-backend
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/setup
- run: pnpm boutique:backend test