Skip to content

Codegen Test

Codegen Test #195

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 node v12
uses: actions/setup-node@v1
with:
node-version: 12
- name: npm install
run: npm install
- name: gen
run: npm run generate
- name: test diff
uses: tj-actions/verify-changed-files@v14
id: test-diff
with:
files: |
**/generated-types/*.ts
- if: steps.test-diff.outputs.files_changed == 'true'
run: |
echo "Run 'npm run generate' to fix!"
exit 1