Skip to content

Upload Database

Upload Database #2680

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run start
env:
GITHUB_TOKEN: ${{ github.token }}