From cfeafeffd7b06033b13b5042932dd51a56011dee Mon Sep 17 00:00:00 2001 From: KarimAziev Date: Sat, 17 Aug 2024 14:34:17 +0300 Subject: [PATCH] ci: Exclude node_modules from deployment zip --- .github/workflows/deploy-extension.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-extension.yml b/.github/workflows/deploy-extension.yml index b1c5d07..3455ecf 100644 --- a/.github/workflows/deploy-extension.yml +++ b/.github/workflows/deploy-extension.yml @@ -125,7 +125,7 @@ jobs: - name: Zip the source code for submission run: | SOURCE_ZIP_NAME="source-code-${{ steps.update-version.outputs.NEW_VERSION }}.zip" - zip -r "${SOURCE_ZIP_NAME}" . -x ".git/*" -x ".github/*" + zip -r "${SOURCE_ZIP_NAME}" . -x ".git/*" -x ".github/*" -x "node_modules/*" echo "SOURCE_ZIPPED_FILE=${SOURCE_ZIP_NAME}" >> $GITHUB_ENV - name: Upload Chrome zipped app as artifact uses: actions/upload-artifact@v4