mirror of
https://github.com/rstackjs/agent-skills.git
synced 2026-09-14 20:07:05 +08:00
41 lines
748 B
YAML
41 lines
748 B
YAML
name: Lint
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
push:
|
|
branches: [main]
|
|
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Install Pnpm
|
|
run: |
|
|
npm install -g corepack@latest --force
|
|
corepack enable
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
|
with:
|
|
node-version: 24
|
|
package-manager-cache: false
|
|
|
|
- name: Install Dependencies
|
|
run: pnpm install
|
|
|
|
- name: Lint
|
|
run: pnpm lint
|