Skip to content

Create CNAME

Create CNAME #12

Workflow file for this run

name: Format Code
on:
push:
branches:
- main # 或您想要的任何分支
pull_request:
branches:
- main # 或您想要的任何分支
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14' # 或您需要的 Node.js 版本
- name: Install dependencies
run: npm install
- name: Run Prettier
run: npx prettier --write '**/*.md' # 检查格式