Skip to content

chore(deps): add babel-preset-expo@^57.0.1 and update @expo/config-pl… #824

chore(deps): add babel-preset-expo@^57.0.1 and update @expo/config-pl…

chore(deps): add babel-preset-expo@^57.0.1 and update @expo/config-pl… #824

Workflow file for this run

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