Skip to content

Commit

Permalink
fix(ci): Add step to create and build generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek-exists committed Sep 10, 2023
1 parent 6e72d18 commit 4098e11
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,15 @@ jobs:
exit 1
fi
- name: Build generated code
run: yarn build
- name: Create and build generated code
run: |
npx create-puck-app test-ci-app
cd test-ci-app
yarn build
- name: Check for build failures
run: |
if ! ${{ success() }}; then
if [ $? -ne 0 ]; then
echo "Build failed. Please fix the issues."
exit 1
fi

0 comments on commit 4098e11

Please sign in to comment.