Skip to content

Commit

Permalink
Add workflow to update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz committed Dec 10, 2024
1 parent d544dc5 commit 1226bd9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Lint Pull Requests

on: [push, pull_request]

jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Checkout
uses: actions/checkout@v4

- name: Install npm dependencies
run: npm install

- name: Build documentation
run: npm run lint

- name: Auto-commit fixes
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
add: "['docs/']"

0 comments on commit 1226bd9

Please sign in to comment.