mirror of https://github.com/coder/code-server.git
Always build extensions on CI
This commit is contained in:
parent
744327ffd4
commit
1f43a673df
|
@ -148,7 +148,7 @@ class Builder {
|
||||||
|
|
||||||
await this.task("building builtin extensions", async () => {
|
await this.task("building builtin extensions", async () => {
|
||||||
const exists = await fs.pathExists(path.join(this.vscodeSourcePath, ".build/extensions"))
|
const exists = await fs.pathExists(path.join(this.vscodeSourcePath, ".build/extensions"))
|
||||||
if (exists) {
|
if (exists && !process.env.CI) {
|
||||||
process.stdout.write("already built, skipping...")
|
process.stdout.write("already built, skipping...")
|
||||||
} else {
|
} else {
|
||||||
await util.promisify(cp.exec)("yarn gulp compile-extensions-build", { cwd: this.vscodeSourcePath })
|
await util.promisify(cp.exec)("yarn gulp compile-extensions-build", { cwd: this.vscodeSourcePath })
|
||||||
|
|
Loading…
Reference in New Issue