From c0a14822f7e434d3c3c622bbf69be21bf19ec73b Mon Sep 17 00:00:00 2001 From: Jonathan Braat Date: Tue, 28 Nov 2023 20:01:33 +1300 Subject: [PATCH] [ADD] zip --- .github/workflows/ci.yml | 5 ++++- vite.config.ts | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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, }, }); -- knotmirror 0.0.1