Nuxt/.github/workflows/autofix-docs.yml

34 lines
730 B
YAML
Raw Normal View History

name: autofix.ci # needed to securely identify the workflow
on:
pull_request:
paths:
- "docs/**"
- ".github/workflows/docs.yml"
2023-05-02 20:11:13 +00:00
push:
branches:
- "renovate/**"
permissions:
contents: read
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: corepack enable
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Lint (docs)
run: pnpm lint:docs:fix
- uses: autofix-ci/action@bee19d72e71787c12ca0f29de72f2833e437e4c9