Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

chore(deps): Update dependency lint-staged to v15.2.7 #10

chore(deps): Update dependency lint-staged to v15.2.7

chore(deps): Update dependency lint-staged to v15.2.7 #10

Workflow file for this run

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: pnpm/action-setup@v2
- name: Use Node.js LTS
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
- uses: actions/cache@v4
with:
path: |
~/.pnpm
${{ github.workspace }}/.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.json') }}-
- name: install deps
run: pnpm i
- name: Build
run: pnpm 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