Feat/testing 1 #2
Workflow file for this run
This file contains hidden or 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: Pull Request | |
on: | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
# Matrix build jobs that depend on the dryrun job | |
release: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
with: | |
version: 9 | |
run_install: false | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build monorepo | |
run: npx nx run-many --target=build --all | |
- name: Upload sentry-client-desktop artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: release-desktop-${{ matrix.os }} | |
path: apps/sentry-client-desktop/release | |
- name: Zip CLI artifacts | |
run: | | |
cd apps/cli/release | |
zip sentry-node-cli-macos.zip sentry-node-cli-macos | |
zip sentry-node-cli-linux.zip sentry-node-cli-linux | |
zip sentry-node-cli-windows.zip sentry-node-cli-win.exe | |
if: matrix.os == 'ubuntu-latest' | |
- name: Upload CLI artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: release-cli-${{ matrix.os }} | |
path: apps/cli/release |