File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 4444 with :
4545 files : |
4646 reports/*.xml
47+
48+ build-check :
49+ runs-on : ubuntu-latest
50+ steps :
51+ - name : Harden Runner
52+ uses : step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
53+ with :
54+ disable-sudo : true
55+ egress-policy : audit
56+ allowed-endpoints : >
57+ github.com:443
58+ registry.npmjs.org:443
59+
60+ - name : Checkout
61+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
62+ - name : Install Dependencies
63+ run : npm ci
64+ - name : Run build
65+ run : npm run build
66+ - name : Check for changes in dist
67+ run : |
68+ if [[ `git status --porcelain dist` ]]; then
69+ echo "Changes detected in dist directory after build:"
70+ git status --porcelain dist
71+ git diff dist
72+ exit 1
73+ else
74+ echo "No changes in dist directory - build is clean"
75+ fi
You can’t perform that action at this time.
0 commit comments