Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@vercel/ncc #795

Merged
merged 1 commit into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ jobs:
- run: yarn typecheck
if: always()

- name: Ensure dist directory is up-to-date
shell: bash
run: |
yarn build
if [ "$(git status analysis dist lint-doc lint-fmt lint-opam --porcelain | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1
fi

test:
name: Test

Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ inputs:
default: ${{ github.token }}
runs:
using: node20
main: dist/index.cjs
post: dist/post.cjs
main: dist/index.js
post: dist/post/index.js
post-if: success()
2 changes: 1 addition & 1 deletion analysis/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ inputs:
default: ${{ github.token }}
runs:
using: node20
main: dist/index.cjs
main: dist/index.js
751 changes: 751 additions & 0 deletions analysis/dist/LICENSE.txt

Large diffs are not rendered by default.

Loading
Loading