Skip to content

Upload Database

Upload Database #2320

Workflow file for this run

name: Upload Database
env:
NODE_VERSION: 18
on:
schedule:
- cron: '0 5,17 * * *'
workflow_dispatch:
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run start
env:
GITHUB_TOKEN: ${{ github.token }}