π fix(actions): add pages check #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: Pages Check | ||
run-name: ${{ github.actor }} is checking pages deployment π | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: π οΈ Checkout | ||
uses: actions/checkout@v2 | ||
- name: Init pnpm | ||
uses: pnpm/action-setup@v2 | ||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: pnpm | ||
- name: Install dependencies | ||
run: pnpm install | ||
- name: Build with VitePress | ||
run: | | ||
pnpm run docs:build | ||
touch docs/.vitepress/dist/.nojekyll |