Skip to content

Commit 2bc5278

Browse files
author
James Struga
committed
Fix CI: add TypeScript build step before running tests
1 parent 7a5fe23 commit 2bc5278

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/unit-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
- name: Install dependencies
2323
working-directory: src/logging
2424
run: npm ci
25+
- name: Build TypeScript
26+
run: |
27+
cd src/logging && npx tsc
28+
cd ../../src/obfuscator && npx -p typescript tsc --module commonjs --moduleResolution node --declaration --outDir . --skipLibCheck htmlObfuscator.ts
2529
- name: Run tests with coverage
2630
working-directory: src/logging
2731
run: npm run test:coverage

0 commit comments

Comments
 (0)