This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
JavaScript Promises 工作原理--初学者手册 (#1245) #893
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 |