Skip to content

chore: run license script on pre-commit for staged files #387

chore: run license script on pre-commit for staged files

chore: run license script on pre-commit for staged files #387

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize]
env:
TURBO_TELEMETRY_DISABLED: 1
RUNNER_NODE_VERSION: 22
RUNNER_PNPM_VERSION: 9.12.1 # specified in root package.json
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
checks:
name: Install, Build, Lint, and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- uses: pnpm/action-setup@v4
with:
version: ${{ env.RUNNER_PNPM_VERSION }}
run_install: false
- uses: actions/setup-node@v4
with:
node-version: ${{ env.RUNNER_NODE_VERSION }}
cache: "pnpm"
- run: pnpm install
- run: pnpm run build
- run: pnpm run lint
- run: pnpm run test
- run: pnpm run lint:fs