chore: 更新版本号至5.0.1 #96
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: Hexo Check Test | |
| on: [push] | |
| jobs: | |
| run: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Use Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 16 | |
| - name: Run test | |
| env: | |
| CODE_REF: ${{ github.ref }} | |
| run: | | |
| npm install hexo-cli -g --silent | |
| hexo init test | |
| cd test | |
| npm install | |
| npm install jiangtj/hexo-theme-cake#$CODE_REF --silent | |
| sed -ri 's/^theme:.*/theme: cake/g' _config.yml | |
| echo -e "\n" | hexo check |