25 lines
507 B
YAML
25 lines
507 B
YAML
name: check
|
|
|
|
on:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
run_install: false
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
cache: pnpm
|
|
node-version: latest
|
|
registry-url: https://registry.npmjs.org
|
|
- run: pnpm install --frozen-lockfile
|
|
- run: pnpm -r build
|
|
- run: pnpm lint
|