on: push: tags: - "*" branches: - "**" jobs: build-and-release: name: Build App runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] steps: - name: Checkout (with submodules) uses: actions/checkout@v4 with: submodules: recursive - name: Install pnpm uses: pnpm/action-setup@v4 with: version: 10 run_install: false - name: Install Node.js uses: actions/setup-node@v4 with: node-version: 22 cache: "pnpm" - name: Install dependencies run: pnpm install - name: Build or Publish run: | if [[ "${{ startsWith(github.ref, 'refs/tags/') }}" == "true" ]]; then pnpm run publish else pnpm run make fi shell: bash