mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-16 10:54:49 +00:00
38 lines
636 B
YAML
38 lines
636 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
|
||
|
- uses: actions/setup-node@v3
|
||
|
with:
|
||
|
node-version: ${{ matrix.node }}
|
||
|
cache: 'yarn'
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: yarn --immutable
|
||
|
|
||
|
- name: Lint (docs)
|
||
|
run: yarn lint:docs
|