Skip to content

Commit b2c2274

Browse files
committed
ci: skip building core in ci after artifacts are downloaded
1 parent 0474270 commit b2c2274

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ jobs:
192192

193193
- name: Build Frontend
194194
run: |
195-
pnpm build
195+
SKIP_CORE=1 pnpm build
196+
# TODO you should not have to run this twice
197+
SKIP_CORE=1 pnpm build
196198
VITE_ISOLATION_ORIGIN="https://puter.zone" pnpm build:chrome
197199
tests:
198200
name: Run Scramjet Tests

rspack.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,8 @@ const injectConfig = defineConfig({
8282
},
8383
});
8484

85-
export default [...scramjetConfig, cdpConfig, injectConfig];
85+
export default [
86+
...(process.env.SKIP_CORE ? [] : scramjetConfig),
87+
cdpConfig,
88+
injectConfig,
89+
];

0 commit comments

Comments
 (0)