Skip to content

Commit

Permalink
move verify npm run build
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenlu committed Oct 5, 2023
1 parent f5aa6c3 commit b64ec6c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ jobs:
run: npm install
- name: Lint check
run: npm run fmt-check
- name: Build Typescript Files
run: npm run build
- name: Verify TypeScript files Built
run: |
status=$(git status --porcelain)
if [ -n "$status" ]; then
echo "you need to run 'npm run build' and commit the changes"
echo "$status"
git --no-pager diff
exit 1
fi
integration-tests:
strategy:
matrix:
Expand All @@ -42,8 +53,6 @@ jobs:
restore-keys: node_modules-
- name: Install
run: npm install
- name: Build Typescript Files
run: npm run build
- uses: ariga/setup-atlas@master
- name: Run Test as Standalone
working-directory: ./testdata/${{ matrix.language }}
Expand Down

0 comments on commit b64ec6c

Please sign in to comment.