Something went wrong. Try again.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950name: face_recognition_brainon: pull_request: branches: [main, staging, dev]env: buildNumber: $(date +'%Y%m%d')-${{ github.run_number }}
jobs: format-check: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v6 - name: Setup pnpm uses: pnpm/action-setup@v4 with: version: 10 - name: Use Node.js 22.x uses: actions/setup-node@v6 with: node-version: 22.x cache: pnpm - name: Install dependencies run: pnpm install --frozen-lockfile - name: Check Formatting run: pnpm format:check
test: runs-on: ubuntu-latest strategy: matrix: os: [ubuntu-latest] node-version: [20.x, 22.x] steps: - name: Checkout uses: actions/checkout@v6 - name: Setup pnpm uses: pnpm/action-setup@v4 with: version: 10 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} cache: pnpm - name: Install dependencies run: pnpm install --frozen-lockfile - name: Run tests run: pnpm test