Skip to content

Merge pull request #8 from wdhdev/dependabot/npm_and_yarn/ava-6.2.0 #22

Merge pull request #8 from wdhdev/dependabot/npm_and_yarn/ava-6.2.0

Merge pull request #8 from wdhdev/dependabot/npm_and_yarn/ava-6.2.0 #22

Workflow file for this run

name: Documentation
on:
push:
branches: [main]
paths:
- "src/**"
- ".github/workflows/docs.yml"
- "package-lock.json"
- "package.json"
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- run: npm install -g documentation
- run: npm run build-docs
- name: Commit
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git add docs/**
git commit -m "chore: build docs"
git push