Skip to content

Monitor crowd-sourced data pod #383

Monitor crowd-sourced data pod

Monitor crowd-sourced data pod #383

Workflow file for this run

name: Codegen Test
on:
push:
pull_request:
jobs:
Codegen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install latest node version
uses: actions/setup-node@v4
with:
node-version: latest
- name: npm install and gen
working-directory: ./backend
run: |
npm install
npm run generate
- name: test diff
uses: tj-actions/verify-changed-files@v14
id: test-diff
with:
files: |
./backend/**/generated-types/*.ts
- if: steps.test-diff.outputs.files_changed == 'true'
run: |
echo "Run 'npm run generate' to fix!"
exit 1