解决 nextjs + zustand 持久化问题的方法 #210
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: schedule-update | |
on: | |
issues: | |
types: [opened, edited] | |
issue_comment: | |
types: [created, edited, deleted] | |
push: | |
branches: | |
- main | |
jobs: | |
bots: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout code" | |
uses: actions/checkout@v3 | |
- name: "Set node" | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: "Install" | |
run: npx pnpm i --no-frozen-lockfile | |
- name: "Run bash" | |
run: node main.js | |
- name: "Commit" | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: 'README.md' | |
push: origin HEAD:main | |
message: "chore: update readme" |