Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ A yeoman-based template to generate a great documentation website.
- Simple CI with github Actions out-of-the-box 📦
- Just few simple questions to generate the perfect documentation 💪
- Easy to use and great test coverage ✅

- Add your content with [Markdown](https://docusaurus.io/docs/markdown-features) and [MDX](https://docusaurus.io/docs/markdown-features/react) 🚂


## Usage
Expand Down
21 changes: 15 additions & 6 deletions generators/app/templates/github/pr_health_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,22 @@ on:
branches: [ main ]

jobs:
publish-npm:
check-integrity:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
- run: npm ci
- run: npm run lint
- run: npm run test

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint

- name: Build Docs
run: npm run build

- name: Build container image
run: docker build .