chore(deps-dev): bump @react-native/metro-config from 0.74.86 to 0.76.0 #865
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 JS | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/validate-js.yml' | |
- 'bun.lockb' | |
- 'packages/react-native-quick-crypto/src/**' | |
- 'packages/react-native-quick-crypto/*.json' | |
- 'packages/react-native-quick-crypto/*.*s' | |
- 'packages/react-native-quick-crypto/bun.lockb' | |
- 'example/src/**' | |
- 'example/*.json' | |
- 'example/*.*s' | |
- 'example/*.*sx' | |
- 'example/bun.lockb' | |
pull_request: | |
paths: | |
- '.github/workflows/validate-js.yml' | |
- 'bun.lockb' | |
- 'packages/react-native-quick-crypto/src/**' | |
- 'packages/react-native-quick-crypto/*.json' | |
- 'packages/react-native-quick-crypto/*.*s' | |
- 'packages/react-native-quick-crypto/bun.lockb' | |
- 'example/src/**' | |
- 'example/*.json' | |
- 'example/*.*s' | |
- 'example/*.*sx' | |
- 'example/bun.lockb' | |
jobs: | |
compile_js: | |
name: Compile JS (tsc) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.1.26 | |
- name: Install reviewdog | |
uses: reviewdog/action-setup@v1 | |
- name: Bootstrap JS | |
run: | | |
bun install | |
- name: Run TypeScript # Reviewdog tsc errorformat: %f:%l:%c - error TS%n: %m | |
run: | | |
bun tsc | reviewdog -name="tsc" -efm="%f(%l,%c): error TS%n: %m" -reporter="github-pr-review" -filter-mode="nofilter" -fail-on-error -tee | |
env: | |
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
lint_js: | |
name: JS Lint (eslint, prettier) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.1.26 | |
- name: Bootstrap JS | |
run: | | |
bun install | |
- name: Run ESLint (rnqc) | |
run: cd packages/react-native-quick-crypto && bun lint-fix | |
- name: Run ESLint (example) | |
run: cd example && bun lint-fix | |
- name: Verify no files have changed after auto-fix | |
run: git diff --exit-code HEAD |