Nuxt/.github/workflows/docs.yml
Daniel Roe 74a90c566c
chore: use pnpm for framework monorepo (#7895)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-17 12:10:05 +02:00

39 lines
661 B
YAML

name: Docs
on:
push:
paths:
- "docs/**"
- ".github/workflows/docs.yml"
branches:
- main
pull_request:
paths:
- "docs/**"
- ".github/workflows/docs.yml"
branches:
- main
jobs:
lint-docs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [14]
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Lint (docs)
run: pnpm lint:docs