diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c72f7d5..804214e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,8 +26,11 @@ jobs: - name: Build run: yarn build + - name: Zip artifacts + run: zip extension.zip ./* -r + - name: Upload extension artifacts uses: actions/upload-artifact@v3 with: - name: vite-web-extension + name: extension.zip path: ./ \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 213d8be..12ffbf5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -45,6 +45,6 @@ export default defineConfig({ build: { outDir, sourcemap: isDev, - emptyOutDir: false, + emptyOutDir: !isDev, }, });