feat: 增加一个功能,生成缓存区文件变更的提交信息,并与 OpenAI API 集成 (#3) #8
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: lint | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20] | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Install PNPM | |
uses: pnpm/action-setup@v2 | |
with: | |
version: ^9.4.0 | |
- name: Install Deps | |
run: pnpm i --no-frozen-lockfile | |
- name: Build | |
run: pnpm run build |