[重构]: 改进代码规范、修复命名并增强测试 #50
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: Translate README | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| paths: | |
| - README.md | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| # ISO Langusge Codes: https://cloud.google.com/translate/docs/languages | |
| - name: Adding README - English | |
| uses: dephraiim/translate-readme@main | |
| with: | |
| LANG: en |