Skip to content

πŸ“ƒ docs: blog update #10

πŸ“ƒ docs: blog update

πŸ“ƒ docs: blog update #10

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' # ζ£€ζŸ₯格式