Skip to content

Commit 4228144

Browse files
committed
Revert github CI changes
1 parent 777b6cb commit 4228144

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/ci-build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,10 @@ jobs:
4242
shell: bash
4343
run: pnpx playwright install --with-deps
4444

45-
- name: Spoof host
46-
shell: bash
47-
run: |
48-
echo "127.0.0.1 local.openshock.app" | sudo tee -a /etc/hosts
49-
5045
- name: Test
5146
shell: bash
52-
run: pnpm test
47+
#run: pnpm test # TODO: Run dev full infra containers locally, seed them with data, and run tests against them. (alotta work, but worth it)
48+
run: pnpm test:unit
5349

5450
build-container:
5551
runs-on: ubuntu-latest

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default defineConfig(async ({ command, mode, isPreview }) => {
6161
const isProduction = mode === 'production' && (isTruthy(env.DOCKER) || isTruthy(env.CF_PAGES));
6262

6363
// If we are running locally, ensure that local.{PUBLIC_SITE_DOMAIN} resolves to localhost, and then use mkcert to generate a certificate
64-
const useLocalRedirect = isLocalServe && !isProduction && (isTruthy(env.CI) ? (isPreview ?? false) : true);
64+
const useLocalRedirect = isLocalServe && !isProduction && !isTruthy(env.CI);
6565

6666
return defineConfig({
6767
plugins: [...(useLocalRedirect ? [mkcert()] : []), sveltekit(), tailwindcss()],

0 commit comments

Comments
 (0)