Skip to content

Commit

Permalink
Attempt to make ncc consistent across machines
Browse files Browse the repository at this point in the history
This solution was suggested here: vercel/ncc#831 (comment)
  • Loading branch information
kevin-david committed Aug 6, 2024
1 parent b23618d commit 2e8916c
Show file tree
Hide file tree
Showing 3 changed files with 493 additions and 484 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ jobs:
- name: eslint
run: npx eslint

- name: Ensure no pending Git changes
run: |
GIT_STATUS=$(git status --porcelain)
if [[ -n $GIT_STATUS ]]; then
echo "There are pending Git changes after running the build. Did you forget to commit the .js files?"
echo "$GIT_STATUS"
exit 1
fi
- name: Run tests
run: npm run test

Expand Down
Loading

0 comments on commit 2e8916c

Please sign in to comment.