Skip to content

Commit 689f694

Browse files
committed
ci: validate dist versions in node build
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 6250866 commit 689f694

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/node.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,17 @@ jobs:
4646
env:
4747
CYPRESS_INSTALL_BINARY: 0
4848
PUPPETEER_SKIP_DOWNLOAD: true
49-
run: npm i
49+
run: npm ci
5050

5151
- name: Lint
5252
run: npm run lint
5353

5454
- name: Build library
5555
run: npm run build
5656

57+
- name: Validate bundled PDF.js versions
58+
run: npm run validate:dist
59+
5760
- name: Check build changes
5861
run: |
5962
bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets' && exit 1)"

0 commit comments

Comments
 (0)