Skip to content

Monorepo [0/?] - move move github actions to root #1196

Monorepo [0/?] - move move github actions to root

Monorepo [0/?] - move move github actions to root #1196

name: Build/test NextExample
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
- .github/workflows/build-next-example.yml
- 'src/**'
- 'NextExample/**'
push:
branches:
- master
jobs:
check:
runs-on: ubuntu-latest
concurrency:
group: build-next-example-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Checkout Git repository
uses: actions/checkout@v4
- name: Install Reanimated node_modules
run: yarn install --immutable
- name: Build package
run: yarn build
- name: Install NextExample node_modules
working-directory: NextExample
run: yarn install --immutable
- name: Compile production build
working-directory: NextExample
run: yarn build
- name: Run e2e tests
working-directory: NextExample
run: yarn e2e:headless