Skip to content

Commit

Permalink
ci: Disable checking dist/ diff at pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesin11 committed Nov 4, 2023
1 parent cecbe0f commit 0da442c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,7 @@ jobs:
- uses: ./.github/actions/setup-deno-with-cache
- name: Rebuild the dist/ directory
run: deno task bundle
- name: Compare the expected and actual dist/ directories
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1
fi

# post processes
- name: Upload dist for post job
if: ${{ always() }}
Expand Down

0 comments on commit 0da442c

Please sign in to comment.