Skip to content

fix: bundle grammars from shiki (#29) #80

fix: bundle grammars from shiki (#29)

fix: bundle grammars from shiki (#29) #80

Workflow file for this run

name: Pages
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install -g pnpm
- run: pnpm i
- run: pnpm format:check
- run: pnpm build
- run: pnpm build:demo
- name: Release pages
if: github.ref == 'refs/heads/main'
uses: crazy-max/ghaction-github-pages@v3.0.0
with:
build_dir: ./out
commit_message: Update pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}