Node.js CI #1151
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: Node.js CI | |
on: | |
# push: | |
schedule: | |
- cron: '00 16 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '12.x' | |
- run: npm install | |
- run: npm run build --if-present | |
- run: | | |
git config --global user.name 'Veveue' | |
git config --global user.email '[email protected]' | |
git commit -am "update wakatime.md" | |
git push | |
env: | |
CI: true |