Change ssh method #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |