chore: [IOPLT-764] Upgrade to react-native 0.75 #14042
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
on: | |
pull_request | |
jobs: | |
run-danger: | |
runs-on: ubuntu-latest | |
environment: dev | |
concurrency: | |
group: ${{ github.workflow }}-pr-staticcheck-danger-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
steps: | |
- id: checkout | |
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | |
- id: enable-corepack | |
shell: bash | |
run: corepack enable | |
- id: setup-node | |
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | |
with: | |
node-version-file: '.node-version' | |
- id: yarn-cache | |
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 | |
with: | |
path: | | |
**/node_modules | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/package.json') }} | |
restore-keys: | | |
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
${{ runner.os }}-yarn- | |
- id: install-packages | |
if: steps.yarn-cache.outputs.cache-hit != 'true' | |
run: yarn install --frozen-lockfile | |
shell: bash | |
- run: '[ -z "$DANGER_GITHUB_API_TOKEN" ] || yarn danger ci' | |
env: | |
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} | |
JIRA_USERNAME: ${{ secrets.JIRA_USERNAME }} | |
JIRA_PASSWORD: ${{ secrets.JIRA_PASSWORD }} |