You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Update README all day at 04:10
on:
push:
workflow_dispatch:
schedule:
# “At 13:37 on every day-of-week from Monday through Friday.”
- cron: '03 4 * * *'
jobs:
update-readme:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Update README.md file
run: |
node index.js > README.md
env:
CI: true
- name: commit changes
uses: EndBug/add-and-commit@v4
with:
author_name: Shado2107
author_email: romalmeida21@gmail.com
force: false
signoff: false
message: ':memo: README.md updated by Shado'
env:
# This is necessary in order to push a commit to the repo