Skip to content

Upload Database

Upload Database #1822

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@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run start
env:
GITHUB_TOKEN: ${{ github.token }}