Skip to content

Refactor lint stack to Oxlint and Oxfmt #754

Refactor lint stack to Oxlint and Oxfmt

Refactor lint stack to Oxlint and Oxfmt #754

name: '[CODE] Lint and test'
on:
push:
branches: [main]
pull_request:
paths-ignore:
- react-native-libraries.json
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Use Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
- name: TSC
run: bun tsc
- name: TEST FORMATTING CHANGES
run: bun oxfmt react-native-libraries.json > /tmp/react-native-libraries.json && diff -u react-native-libraries.json /tmp/react-native-libraries.json || true
- name: Lint
run: bun lint
- name: Build Next app
run: bun next build --webpack