feat: landing page hero updates #19
Workflow file for this run
This file contains hidden or 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: License Check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| check-licenses: | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24.8.0 | |
| cache: pnpm | |
| - uses: oven-sh/setup-bun@v2 | |
| - name: Install dependencies | |
| run: | | |
| pnpm install --frozen-lockfile | |
| - name: Check licenses | |
| timeout-minutes: 5 | |
| run: | | |
| set -euo pipefail | |
| # 1) Generate JSON grouped by license | |
| pnpm licenses list --json > /tmp/licenses.json | |
| echo "All used licenses (groupBy=license):" | |
| jq -r 'keys[]' /tmp/licenses.json | sort -u | |
| echo | |
| # 2) Find disallowed license expressions (supports AND/OR combos) | |
| bun run scripts/check-licenses.bun.ts |