Skip to content

Commit 50f9f55

Browse files
committed
Fix github-cache.json generation
1 parent d12bfa0 commit 50f9f55

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/static.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ jobs:
4848
env:
4949
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
5050
run: |
51-
npm run compile
52-
python3 scripts/genCache.py
51+
npm run genCache
5352
- name: Setup Pages
5453
uses: actions/configure-pages@v5
5554
- name: Upload artifact

genCache.tsconfig.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"include": [
4+
"src/utils/sharedConstants.mts"
5+
]
6+
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@
348348
"vscode:uninstall": "node ./dist/vscodeUninstaller.mjs",
349349
"vscode:prepublish": "npm run package",
350350
"compile": "tsc --build tsconfig.json --noEmit false",
351+
"genCache": "tsc --build genCache.tsconfig.json --noEmit false && python3 scripts/genCache.py",
351352
"watch": "webpack --watch --mode development",
352353
"clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
353354
"package": "npm run clean && node scripts/build.mjs",

0 commit comments

Comments
 (0)