Skip to content

Upload Database

Upload Database #2335

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@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- 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 }}