Monorepo [0/?] - move move github actions to root #1196
Workflow file for this run
This file contains 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 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 |