js 数组新增 at 新特性 #193
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" |