React Native Next #5
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: React Native Next | |
on: | |
# Runs every night at 2 AM | |
schedule: | |
- cron: '0 2 * * *' | |
# Manual trigger | |
workflow_dispatch: | |
# Set minimal permissions by default | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ !contains(github.ref, 'main')}} | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup Node.js and deps | |
uses: ./.github/actions/setup-deps-rn-next | |
- name: Lint | |
run: yarn lint | |
typecheck: | |
runs-on: ubuntu-latest | |
name: Typecheck | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup Node.js and deps | |
uses: ./.github/actions/setup-deps-rn-next | |
- name: Typecheck | |
run: yarn typecheck | |
test: | |
runs-on: ubuntu-latest | |
name: Test | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup Node.js and deps | |
uses: ./.github/actions/setup-deps-rn-next | |
- name: Test | |
run: yarn test:ci |