Skip to content

Upload Database

Upload Database #1784

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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.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 }}