Skip to content

opt doc

opt doc #135

Workflow file for this run

name: Build-macOS
on:
push:
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# Build job
build:
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm install
- name: Build with VitePress
run: npm run docs:build
- name: Build docan
run: npm run docan
- name: Build dolin
run: npm run dolin
- name: Build worker
run: npm run worker
- name: Build api
run: npm run api
- name: Build cli
run: npm run cli:build:mac
- name: Build APP
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run build:mac
- uses: actions/upload-artifact@v4
with:
name: artifact
path: dist/*.dmg