Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/crutchcorn/react-native-monorepo-example. An example of a Yarn Berry monorepo with workspace and Re
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556name: CI
on: push: branches: - main pull_request: { }
permissions: read-all
concurrency: # Group concurrency on workflow, then: # - Is merge run? Group on branch name (`refs/heads/main`) # - Is pull request? Group on pull request branch name, for example `feat/add-awesome-feature` group: >- ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref || github.head_ref }} # Run merge workflows in sequence to prevent parallel deployments and releases # Cancel stale pull request runs in progress for the same branch cancel-in-progress: ${{ github.event_name != 'push' }}
jobs: build: runs-on: ubuntu-latest
steps: - uses: actions/checkout@v3 - name: Setup uses: ./.github/actions/setup
- name: Check against TypeScript build run: yarn tsc lint: runs-on: ubuntu-latest
steps: - uses: actions/checkout@v3 - name: Setup uses: ./.github/actions/setup
- name: Run linter run: yarn lint test: runs-on: ubuntu-latest
steps: - uses: actions/checkout@v3 - name: Setup uses: ./.github/actions/setup
- name: Run tests run: yarn test