next->master #2177
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: Test | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: 🏗 Setup monorepo | |
uses: ./.github/actions/setup-monorepo | |
- name: Run test scripts of all workspaces in parallel | |
run: pnpm run test | |
build-desktop-wallet: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: 🏗 Setup monorepo | |
uses: ./.github/actions/setup-monorepo | |
- name: Extract platform name | |
id: get-os | |
run: echo "os=$(echo ${{ matrix.os }} | cut -d- -f1)" >> $GITHUB_OUTPUT | |
shell: bash | |
- name: Skip desktop wallet signing | |
uses: jaywcjlove/github-action-package@v2.0.0 | |
with: | |
path: apps/desktop-wallet/package.json | |
unset: build.win.sign | |
- name: Building desktop wallet on ${{ steps.get-os.outputs.os }} | |
run: cd apps/desktop-wallet && pnpm run ci:build:electron:${{ steps.get-os.outputs.os }} | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |