chore(deps-dev): bump react-native from 0.71.8 to 0.72.4 #376
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: validate | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: ['**'] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
main: | |
strategy: | |
matrix: | |
node: [14, 16, 18] | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: 📥 Download deps | |
run: yarn install | |
- name: ▶️ Run linter | |
run: yarn lint | |
- name: ▶️ Run typecheck | |
run: yarn typecheck | |
- name: ▶️ Run tests with coverage | |
run: yarn test:coverage | |
- name: ⬆️ Upload coverage report | |
uses: codecov/codecov-action@v3 | |
with: | |
fail_ci_if_error: true | |
flags: node-${{ matrix.node }} | |
release: | |
needs: main | |
runs-on: ubuntu-latest | |
if: | |
${{ github.repository == 'testing-library/jest-native' && github.ref == 'refs/heads/main' && | |
github.event_name == 'push' }} | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: 📥 Download deps | |
uses: bahmutov/npm-install@v1 | |
with: | |
useLockFile: false | |
- name: 🚀 Release | |
run: yarn semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |