build(deps): bump react-native-screens from 4.10.0 to 4.24.0 #449
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] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint-and-test: | |
| name: validate | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v5 | |
| with: | |
| version: 10.15.0 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install Linux UI test dependencies | |
| run: sudo apt-get update && sudo apt-get install -y xvfb | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm run typecheck | |
| - run: pnpm run test | |
| - name: Responsive UI smoke | |
| run: xvfb-run -a pnpm run test:responsive | |
| - name: Layout cohesion smoke | |
| run: xvfb-run -a pnpm run test:layout | |
| build-windows: | |
| name: build-windows | |
| runs-on: windows-latest | |
| needs: lint-and-test | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v5 | |
| with: | |
| version: 10.15.0 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Cache electron | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cache/electron | |
| ~/.cache/electron-builder | |
| ~\AppData\Local\electron\cache | |
| ~\AppData\Local\electron-builder\cache | |
| key: electron-cache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} | |
| restore-keys: | | |
| electron-cache-${{ runner.os }}- | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm run build | |
| - run: pnpm run test:visual | |
| - run: pnpm exec electron-builder --publish never | |
| build-macos: | |
| name: build-macos | |
| runs-on: macos-latest | |
| needs: lint-and-test | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v5 | |
| with: | |
| version: 10.15.0 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Cache electron | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cache/electron | |
| ~/.cache/electron-builder | |
| key: electron-cache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} | |
| restore-keys: | | |
| electron-cache-${{ runner.os }}- | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm run build | |
| - name: Pre-cache Electron binary | |
| shell: bash | |
| run: | | |
| ELECTRON_VERSION="$(node -p "require('./package.json').devDependencies.electron.replace(/^[^0-9]*/, '')")" | |
| ELECTRON_CACHE="$HOME/.cache/electron" | |
| ELECTRON_ZIP="electron-v${ELECTRON_VERSION}-darwin-arm64.zip" | |
| mkdir -p "$ELECTRON_CACHE" | |
| curl --fail --location --retry 5 --retry-delay 10 --retry-all-errors \ | |
| --output "$ELECTRON_CACHE/$ELECTRON_ZIP" \ | |
| "https://github.com/electron/electron/releases/download/v${ELECTRON_VERSION}/${ELECTRON_ZIP}" | |
| - run: pnpm exec electron-builder --publish never |