Feat docs (#1814)
* improve docs and formatting * lint in ci avoid using bundled prettier from vscode extension * fix action, typos * remove header * remove unused deps
This commit is contained in:
27
.github/workflows/lint.yml
vendored
27
.github/workflows/lint.yml
vendored
@@ -7,9 +7,36 @@ on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
name: Check Docs
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository_owner == 'wg-easy'
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
name: Install pnpm
|
||||
with:
|
||||
run_install: false
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "lts/*"
|
||||
check-latest: true
|
||||
cache: "pnpm"
|
||||
|
||||
- name: Check docs formatting
|
||||
run: |
|
||||
pnpm install
|
||||
pnpm format:check:docs
|
||||
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
needs: docs
|
||||
if: github.repository_owner == 'wg-easy'
|
||||
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user