Skip to content

Commit 68cd625

Browse files
committed
Have the CI build enforce the use of terser.
1 parent 7b617e5 commit 68cd625

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
run: npm ci --timing
2020
- name: Lint javascript
2121
run: npm run lint
22+
- name: Verify minification uses script
23+
run: |
24+
npm run minify
25+
git diff --exit-code Universal-Federated-Analytics-Min.js Universal-Federated-Analytics-Min.js.map
2226
- name: Run tests
2327
# aa-exec applies Ubuntu's AppArmor profile for stable Chrome binaries to the Chrome for Testing binary downloaded by Puppeteer
2428
# Without it, Puppeteer fails with error "No usable sandbox!"

0 commit comments

Comments
 (0)