fix: regenerate macOS icon with alpha channel and full-size squircle #434
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.15.1' | |
| cache: 'pnpm' | |
| - name: Installer script sanity | |
| run: | | |
| sh -n install.sh | |
| sh scripts/test-install.sh | |
| - run: pnpm install --frozen-lockfile | |
| - name: Configure git | |
| run: | | |
| git config --global init.defaultBranch main | |
| git config --global user.email "test@example.com" | |
| git config --global user.name "Test User" | |
| - run: pnpm --filter @snowtree/core build | |
| - run: pnpm typecheck | |
| - run: pnpm lint | |
| - run: pnpm --filter @snowtree/ui test | |
| - run: pnpm --filter @snowtree/desktop test:ci | |
| - name: Setup display | |
| run: | | |
| sudo apt-get update -qq | |
| sudo apt-get install -y xvfb | |
| sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & | |
| - run: pnpm run electron:rebuild | |
| - run: pnpm exec playwright install --with-deps chromium | |
| - name: Start UI dev server | |
| run: | | |
| pnpm --filter @snowtree/ui dev -- --port 4521 --strictPort & | |
| pnpm exec wait-on http://localhost:4521 -t 60000 | |
| - name: UI E2E (Browser) | |
| run: pnpm --filter @snowtree/ui test:e2e | |
| env: | |
| CI: true | |
| - name: UI E2E (Electron) | |
| run: DISPLAY=:99 pnpm --filter @snowtree/ui test:e2e:electron | |
| env: | |
| CI: true | |
| ELECTRON_DISABLE_SANDBOX: 1 | |
| timeout-minutes: 10 | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [macos-latest, ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.15.1' | |
| cache: 'pnpm' | |
| - run: pnpm install | |
| - run: pnpm run build | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: snowtree-${{ matrix.os }} | |
| path: dist-electron/* | |
| retention-days: 7 |