├── .github └── workflows │ └── node.js.yml ├── README.md └── index.js /.github/workflows/node.js.yml: -------------------------------------------------------------------------------- 1 | name: Progress Bar CI 2 | 3 | on: 4 | push: 5 | branches: master 6 | workflow_dispatch: 7 | schedule: 8 | - cron: '0 */6 * * *' 9 | 10 | jobs: 11 | build: 12 | 13 | runs-on: ubuntu-latest 14 | 15 | steps: 16 | - uses: actions/checkout@v2 17 | - name: Use Node.js 18 | uses: actions/setup-node@v1 19 | with: 20 | node-version: '14.x' 21 | - name: Update README.md 22 | run: node index.js > README.md 23 | - name: Commit change & Push 24 | run: | 25 | git config user.name 'fiqryq' 26 | git config user.email 'fiqrychoerudin48@gmail.com' 27 | git commit -am "plant some tree 🌳" 28 | git push 29 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ⏰ Updated on Mon, 01 Jan 2024 12:01:15 GMT 2 | 3 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | const readme = `\ 2 | ⏰ Updated on ${new Date().toUTCString()} 3 | ` 4 | console.log(readme) 5 | --------------------------------------------------------------------------------