build(deps): bump react-native-reanimated from 4.3.1 to 4.5.1 #846
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: Build Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: "22" | |
| - name: Cache pnpm dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.pnpm-store | |
| key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm- | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build and Test | |
| run: pnpm run build | |
| continue-on-error: false | |
| - name: Check if PR should be blocked | |
| if: github.event_name == 'pull_request' | |
| run: | | |
| if [[ "${{ job.status }}" == "failure" ]]; then | |
| echo "The 'Build and Test' step failed. The PR will be blocked from merging." | |
| else | |
| echo "The 'Build and Test' step passed. The PR can be merged." | |
| fi | |
| - name: Notify on failure | |
| if: failure() | |
| run: | | |
| echo "Build failed. Please check the logs for details." | |
| # Optionally, send notifications or update PR status |