From 40c72d15ed777856d8b3f8b1e605f2c4a9c27db9 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Fri, 17 Feb 2023 16:29:25 +0530 Subject: [PATCH] chore: exclude nocodb package from modclean to avoid removing public assets Signed-off-by: Pranav C --- .github/workflows/release-executables.yml | 2 +- .github/workflows/release-timely-executables.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-executables.yml b/.github/workflows/release-executables.yml index c05211abe8..02e26036ee 100644 --- a/.github/workflows/release-executables.yml +++ b/.github/workflows/release-executables.yml @@ -87,7 +87,7 @@ jobs: ./node_modules/.bin/node-pre-gyp install --directory=./node_modules/sqlite3 --target_platform=linux --fallback-to-build --target_arch=arm64 --target_libc=musl # clean up code to optimize size - npx modclean --patterns="default:*" --ignore="nc-lib-gui/**,dayjs/**,express-status-monitor/**,sqlite3/**" --run + npx modclean --patterns="default:*" --ignore="nc-lib-gui/**,nocodb/**,dayjs/**,express-status-monitor/**,sqlite3/**" --run # build executables npm run build diff --git a/.github/workflows/release-timely-executables.yml b/.github/workflows/release-timely-executables.yml index b8da4543e3..ab7706709c 100644 --- a/.github/workflows/release-timely-executables.yml +++ b/.github/workflows/release-timely-executables.yml @@ -103,7 +103,7 @@ jobs: # clean up code to optimize size - npx modclean --patterns="default:*" --ignore="nc-lib-gui-daily/**,dayjs/**,express-status-monitor/**,sqlite3/**" --run + npx modclean --patterns="default:*" --ignore="nc-lib-gui-daily/**,nocodb-daily/**,dayjs/**,express-status-monitor/**,sqlite3/**" --run # build executables npm run build