We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 438c15d commit 8a8510eCopy full SHA for 8a8510e
1 file changed
.github/workflows/main.yml
@@ -19,14 +19,12 @@ jobs:
19
run: npm ci
20
- name: Build
21
run: npm run build
22
+ - name: Check dist freshness
23
+ run: |
24
+ git diff --exit-code --stat -- dist/index.js \
25
+ || (echo "##[error] found changed dist/index.js after build. please run 'npm run build' and commit the updated bundle" \
26
+ && exit 1)
27
- name: Test
28
run: npm run test
29
- name: Format
30
run: npm run fmtcheck
- # - name: "check for uncommitted changes"
- # # Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
- # run: |
- # git diff --exit-code --stat -- . ':!node_modules' \
- # || (echo "##[error] found changed files after build. please 'npm run build && npm run fmt'" \
31
- # "and check in all changes" \
32
- # && exit 1)
0 commit comments