funding-splits-content - Nightly #39
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: funding-splits-content - Nightly | |
on: | |
schedule: | |
- cron: 59 23 * * * | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: funding-splits-content | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: 'npm' | |
cache-dependency-path: funding-splits-content/package-lock.json | |
- run: npm ci | |
- run: npx tsc | |
- run: node download.js | |
- run: node dripify.js | |
- name: Git Config | |
run: | | |
git config user.name 'Nya Ξlimu' | |
git config user.email '[email protected]' | |
- name: Git Commit | |
run: | | |
git add *.csv | |
git commit -m 'chore(funding-splits-content): nightly build' --allow-empty | |
- name: Git Push | |
run: | | |
git push |