chore(ci): 修改工作流程执行频率从每3天改为每7天 #93
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| test-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: Generate Contributors Images | |
| uses: jaywcjlove/github-action-contributors@main | |
| id: contributors | |
| with: | |
| filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\]) | |
| output: dist/CONTRIBUTORS.svg | |
| avatarSize: 42 | |
| - name: Modify README.md | |
| uses: jaywcjlove/github-action-modify-file-content@main | |
| with: | |
| path: README.md | |
| trim_whitespace: false | |
| openDelimiter: '<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-->' | |
| closeDelimiter: '<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-END-->' | |
| body: ${{steps.contributors.outputs.htmlList}} | |
| - name: Modify README.md | |
| uses: jaywcjlove/github-action-modify-file-content@main | |
| with: | |
| path: README-zh.md | |
| trim_whitespace: false | |
| openDelimiter: '<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-->' | |
| closeDelimiter: '<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-END-->' | |
| body: ${{steps.contributors.outputs.htmlList}} | |
| - run: npm install | |
| - run: npm run build |