feat(documentation): add documentation website #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: docs-${{ github.head_ref }} | |
cancel-in-progress: true | |
env: | |
MISE_EXPERIMENTAL: 1 | |
jobs: | |
build: | |
name: Build | |
runs-on: 'ubuntu-latest' | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jdx/mise-action@v2 | |
- name: Install dependencies | |
run: mise run install | |
- name: Build | |
run: mise run docs:build | |
lint: | |
name: Lint | |
runs-on: 'ubuntu-latest' | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jdx/mise-action@v2 | |
- name: Restore Cache | |
uses: actions/cache@v3 | |
id: mix-cache | |
with: | |
path: | | |
deps | |
_build | |
_site | |
key: mix-${{ hashFiles('mix.lock') }} | |
- name: Install dependencies | |
run: mise run install | |
- name: Run Credo | |
run: mise run lint |