[Auto] 用异步生成器代替状态管理 #111
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: CI & CD | |
on: | |
push: | |
jobs: | |
Lint-and-Format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm i --frozen-lockfile | |
- name: Lint & Format | |
run: pnpm format | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Auto Format |