Skip to content

Schema update

Schema update #12

Workflow file for this run

name: Schema update
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20.x"
cache: "npm"
registry-url: "https://registry.npmjs.org"
- name: NPM install
run: npm ci
- name: First build
run: npm run build
- id: download
if: github.ref == 'refs/heads/main'
name: Download latest
run: npm run download
continue-on-error: true
- name: Generate Types
if: steps.download.outcome == 'success'
run: npm run generate