update #29303
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: update | |
on: | |
schedule: | |
# every 1 Hour the job will run | |
- cron: "0 * * * *" | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
name: | |
description: 'Manual trigger' | |
required: false | |
default: 'Reason: Manual trigger' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- uses: actions/setup-node@v4.0.4 | |
with: | |
node-version: '14.x' | |
- name: use yarn to Build and Test | |
run: | | |
yarn | |
yarn download | |
yarn start | |
yarn test | |
- name: Commit | |
uses: stefanzweifel/git-auto-commit-action@v5.0.1 | |
with: | |
commit_message: Update CSV and JSON API Data | |
commit_author: GitHub Actions <actions@github.com> |