init react-native-tab-view 3.5.2 #2
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: CI | |
on: | |
push: | |
branches: | |
- 6.x | |
pull_request: | |
branches: | |
- 6.x | |
jobs: | |
dependencies: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Verify dependency versions | |
run: yarn check-dependency-version-consistency . | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Lint files | |
run: yarn lint | |
- name: Typecheck files | |
run: yarn typescript | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Run unit tests | |
run: yarn test --maxWorkers=2 --coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
integration-test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Install Playwright | |
run: npx playwright install --with-deps | |
- name: Build example for web | |
run: yarn example web:export | |
- name: Run integration tests | |
run: yarn example test:e2e | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Build packages in the monorepo | |
run: yarn lerna run prepack | |
- name: Verify built type definitions are correct | |
run: yarn typescript | |
- name: Verify paths for types | |
run: node scripts/check-types-path.js |