This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
chore(deps): Update react monorepo to v19 (#402) #582
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: compliance | |
on: | |
push: | |
branches: ['main'] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
license: | |
name: FOSSA Scan | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: latest | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.bun | |
${{ github.workspace }}/.next/cache | |
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }} | |
restore-keys: | | |
${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}- | |
- name: install deps | |
run: bun i --frozen-lockfile | |
- name: Build | |
run: bun run build | |
- name: FOSSA Scan | |
uses: fossas/fossa-action@main | |
with: | |
api-key: ${{ secrets.FOSSA_API_KEY }} | |
- name: FOSSA Tests | |
uses: fossas/fossa-action@main | |
with: | |
api-key: ${{ secrets.FOSSA_API_KEY }} | |
run-tests: true |