From 9db7c626fc71ad1aa26dea4ea95b5dadab3d3644 Mon Sep 17 00:00:00 2001 From: Alex Tkachev Date: Thu, 12 Dec 2024 14:10:17 +0400 Subject: [PATCH 1/2] chore: adjust eslint ignore --- apps/publisher/eslint.config.mjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/publisher/eslint.config.mjs b/apps/publisher/eslint.config.mjs index cfea77437..d884dedff 100644 --- a/apps/publisher/eslint.config.mjs +++ b/apps/publisher/eslint.config.mjs @@ -1,3 +1,8 @@ import { base, defineConfig } from '@custom/eslint-config'; -export default defineConfig([...base]); +export default defineConfig([ + ...base, + { + ignores: ['.cache/**'], + }, +]); From 93211d68dd532e99ff056d64962613065cb56d37 Mon Sep 17 00:00:00 2001 From: Alex Tkachev Date: Thu, 12 Dec 2024 15:12:15 +0400 Subject: [PATCH 2/2] fix: pass decap env vars to fe_build workflow --- apps/publisher/publisher.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/publisher/publisher.config.ts b/apps/publisher/publisher.config.ts index 4f40ae0e4..65111013a 100644 --- a/apps/publisher/publisher.config.ts +++ b/apps/publisher/publisher.config.ts @@ -72,6 +72,8 @@ function githubEnvVars(): Record { 'PUBLISHER_OAUTH2_SESSION_SECRET', 'PUBLISHER_OAUTH2_ENVIRONMENT_TYPE', 'PUBLISHER_OAUTH2_TOKEN_HOST', + 'VITE_DECAP_REPO', + 'VITE_DECAP_BRANCH', ].map((name) => { if (name === 'DRUPAL_INTERNAL_URL') { // No internal URLs when building on Github.