Skip to content

Commit 16b71de

Browse files
committed
πŸ› μ›Œν¬ν”Œλ‘œμš° μˆ˜μ •
1 parent ac3aae5 commit 16b71de

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

β€Ž.github/workflows/process-images.yamlβ€Ž

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,23 @@ jobs:
2424
restore-keys: |
2525
${{ runner.os }}-primes-
2626
- name: Install dependencies
27-
if: steps.cache.outputs.cache-hit != 'true'
2827
run: npm ci
28+
- name: Create tsconfig.build.json
29+
run: |
30+
echo '{
31+
"extends": "./tsconfig.json",
32+
"compilerOptions": {
33+
"target": "ES2021",
34+
"module": "ES2020",
35+
"outDir": "./dist",
36+
"noEmit": false
37+
},
38+
"include": ["scripts/**/*"],
39+
"exclude": ["src/**/*", "dist"]
40+
}' > tsconfig.build.json
2941
- name: Build TypeScript
3042
run: |
31-
npx tsc ./scripts/action-process-images.ts --outDir ./dist --esModuleInterop --target ES2021 --jsx react --skipLibCheck
43+
npx tsc ./scripts/action-process-images.ts ./scripts/github-api.ts ./scripts/sharp-api.ts --outDir ./dist --esModuleInterop --target ES2021 --module ES2020 --moduleResolution node --allowJs --isolatedModules --skipLibCheck --jsx react
3244
- name: ✧ Process images and Report results
3345
run: node ./dist/action-process-images.js
3446
env:

0 commit comments

Comments
Β (0)