Skip to content

Commit

Permalink
Merge pull request #31 from bemijonathan/fix/dist-to-build
Browse files Browse the repository at this point in the history
add dist to build
  • Loading branch information
bemijonathan authored May 22, 2024
2 parents ea98b4c + 974731b commit 6bdcaef
Show file tree
Hide file tree
Showing 41 changed files with 81,209 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ jobs:
id: build
run: npm run bundle

- name: Compare Expected and Actual Directories
id: diff
run: |
if [ "$(git diff --ignore-space-at-eol --text dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff --ignore-space-at-eol --text dist/
exit 1
fi
# - name: Compare Expected and Actual Directories
# id: diff
# run: |
# if [ "$(git diff --ignore-space-at-eol --text dist/ | wc -l)" -gt "0" ]; then
# echo "Detected uncommitted changes after build. See status below:"
# git diff --ignore-space-at-eol --text dist/
# exit 1
# fi

# If index.js was different than expected, upload the expected version as
# a workflow artifact.
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ pids
*.pid
*.seed
*.pid.lock
dist

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
Expand Down
Loading

0 comments on commit 6bdcaef

Please sign in to comment.