Skip to content

Commit cda819b

Browse files
committed
Have the CI build enforce the use of terser.
1 parent 65299a7 commit cda819b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
pull_request:
44

55
jobs:
6-
lint:
6+
build:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Code Checkout
@@ -17,3 +17,8 @@ jobs:
1717
run: npm ci --timing
1818
- name: Lint javascript
1919
run: npm run lint
20+
- name: Validate minification uses script
21+
run: |
22+
npm run minify
23+
git diff --exit-code Universal-Federated-Analytics-Min.js Universal-Federated-Analytics-Min.js.map
24+

0 commit comments

Comments
 (0)