Skip to content

docs: disable isolatedDeclarations for docs #108

docs: disable isolatedDeclarations for docs

docs: disable isolatedDeclarations for docs #108

Workflow file for this run

name: Github Page Docs
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set node
uses: actions/setup-node@v4
with:
node-version: lts/*
- run: corepack enable
- run: npm i -g @antfu/ni
- run: nci
- name: Build unplugin
run: nr build
- name: Build docs
run: nr docs:build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/.vitepress/dist
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages 🚀
id: deployment
uses: actions/deploy-pages@v4