Skip to content

Sync all available tokens #270

Sync all available tokens

Sync all available tokens #270

name: Sync all available tokens
on:
schedule:
- cron: "0 1 */1 * *" # Run at 01:00 UTC every day
workflow_dispatch:
jobs:
sync_available_coins:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install modules
run: yarn --ignore-engines
- name: Run sync_available_coins.js
env:
MONGODB_URI: ${{ secrets.MONGODB_URI }}
run: node scripts/sync_available_coins.js