pr_checks: write build timestamp before running tsc
This commit is contained in:
parent
2483abdc7b
commit
3667346476
3 changed files with 5 additions and 0 deletions
1
.github/workflows/pr_checks.yaml
vendored
1
.github/workflows/pr_checks.yaml
vendored
|
|
@ -250,6 +250,7 @@ jobs:
|
|||
- name: Type check and lint
|
||||
run: |
|
||||
cd extensions/vscode
|
||||
npm run write-build-timestamp
|
||||
npx tsc --noEmit
|
||||
npm run lint
|
||||
|
||||
|
|
|
|||
|
|
@ -589,6 +589,7 @@
|
|||
"build-test": "npm run esbuild && node esbuild.test.mjs",
|
||||
"test": "npm run build-test && node ./out/runTestOnVSCodeHost.js",
|
||||
"quick-test": "npm run build-test && node ./out/runTestOnVSCodeHost.js",
|
||||
"write-build-timestamp": "node scripts/write-build-timestamp.js",
|
||||
"prepackage": "node scripts/prepackage.js",
|
||||
"package": "node scripts/package.js",
|
||||
"package-all": "node scripts/package-all.js",
|
||||
|
|
|
|||
3
extensions/vscode/scripts/write-build-timestamp.js
Normal file
3
extensions/vscode/scripts/write-build-timestamp.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const { writeBuildTimestamp } = require("./utils");
|
||||
|
||||
writeBuildTimestamp();
|
||||
Loading…
Add table
Reference in a new issue