Skip to content

chore(very_good_docs_site): v0.0.4 (#228) #40

chore(very_good_docs_site): v0.0.4 (#228)

chore(very_good_docs_site): v0.0.4 (#228) #40

name: very_good_docs_site
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
paths:
- .github/workflows/very_good_docs_site.yaml
- "very_good_docs_site/**"
branches:
- main
pull_request:
paths:
- .github/workflows/very_good_docs_site.yaml
- "very_good_docs_site/**"
branches:
- main
jobs:
brick:
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 🎯 Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: 🧱 Mason Make
run: |
dart pub global activate mason_cli
mason get
mason make very_good_docs_site -c very_good_docs_site/config.json -o output --on-conflict overwrite
- name: ⚙️ Setup Node
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: 📦 Install Dependencies
run: |
cd output/test_docs_site
npm i
- name: ✨ Check Format
run: |
cd output/test_docs_site
npm run format:check
- name: 🧹 Lint
run: |
cd output/test_docs_site
npm run lint
- name: 👷 Build website
run: |
cd output/test_docs_site
npm run build