32 lines
636 B
YAML
32 lines
636 B
YAML
name: Check
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- "**" # matches every branch
|
|
|
|
jobs:
|
|
lint_and_check:
|
|
name: Lint and Check
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
|
|
- name: Install pnpm
|
|
uses: pnpm/action-setup@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
|
with:
|
|
node-version: 22
|
|
cache: "pnpm"
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
|
|
- name: Run check
|
|
run: pnpm run check
|