Skip to content

Commit

Permalink
@vercel/ncc
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <sora@morimoto.io>
  • Loading branch information
smorimoto committed May 17, 2024
1 parent f6e3ade commit 1c39239
Show file tree
Hide file tree
Showing 41 changed files with 348,244 additions and 284,158 deletions.
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.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

0 comments on commit 1c39239

Please sign in to comment.