Skip to content

使用Action保证代码格式 #279

使用Action保证代码格式

使用Action保证代码格式 #279

Workflow file for this run

name: GitHub Pages for PR
on: [pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
os: [ubuntu-latest]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- name: 📦 Install Dependencies
run: yarn
- name: 🧐 Check Code Types
run: yarn docs:tsc
- name: 🔧 Check Code Format
run: yarn docs:lint
- name: 🌌 Build VitePress Docs
run: yarn docs:build