From 1cb4a8e5b953e83494f4eb012dd1a1798699e882 Mon Sep 17 00:00:00 2001 From: Quentin Renaud Date: Tue, 16 Jun 2026 16:47:45 +0200 Subject: [PATCH 1/3] feat(ci): remove unused build + fix github action --- .circleci/config.yml | 42 --------------------------------------- .github/workflows/ci.yml | 4 ++-- .platform/application.yml | 39 ------------------------------------ 3 files changed, 2 insertions(+), 83 deletions(-) delete mode 100644 .circleci/config.yml delete mode 100644 .platform/application.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index f8a0adb4..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,42 +0,0 @@ -version: 2.1 - -executors: - base: - docker: - - image: cimg/base:current - -jobs: - deploy: - parameters: - env: - type: string - default: production - executor: base - steps: - - checkout - - run: - name: Download Algolia Platform appcli util - command: curl -sS -L https://platform.algolia.net/public/install.sh | bash - - run: - name: Replace environment variables - command: | - sed -i "s@REPLACE_ME_TOOLS_ENDPOINT@${TOOLS_ENDPOINT}@g" .platform/application.yml - sed -i "s@REPLACE_ME_TOOLS_INTERNAL_ENDPOINT@${TOOLS_INTERNAL_ENDPOINT}@g" .platform/application.yml - sed -i "s@REPLACE_ME_VUE_APP_APP_ID@${VUE_APP_APP_ID}@g" .platform/application.yml - sed -i "s@REPLACE_ME_VUE_APP_METAPARAMS_BACKEND_ENDPOINT@${VUE_APP_METAPARAMS_BACKEND_ENDPOINT}@g" .platform/application.yml - sed -i "s@REPLACE_ME_VUE_APP_SEARCH_ONLY_API_KEY@${VUE_APP_SEARCH_ONLY_API_KEY}@g" .platform/application.yml - sed -i "s@REPLACE_ME_VUE_APP_TOOLS_INTERNAL_ENDPOINT@${VUE_APP_TOOLS_INTERNAL_ENDPOINT}@g" .platform/application.yml - cat .platform/application.yml - - run: - name: Deploy with Algolia Platform - command: appcli environment deploy --environment $APP_PLATFORM_ENVIRONMENT --manifest-file .platform/application.yml - -workflows: - deploy: - jobs: - - deploy: - name: deploy-production - filters: - branches: - only: - - master diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d29c7f23..9cf743fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,10 +3,10 @@ name: CI Workflow on: push: branches: - - main + - master pull_request: branches: - - main + - master jobs: build-and-test: diff --git a/.platform/application.yml b/.platform/application.yml deleted file mode 100644 index 07f7bf12..00000000 --- a/.platform/application.yml +++ /dev/null @@ -1,39 +0,0 @@ -http: - - target: web - -build: - - name: web - buildArgs: - - name: TOOLS_ENDPOINT - value: REPLACE_ME_TOOLS_ENDPOINT - - name: TOOLS_INTERNAL_ENDPOINT - value: REPLACE_ME_TOOLS_INTERNAL_ENDPOINT - - name: VUE_APP_APP_ID - value: REPLACE_ME_VUE_APP_APP_ID - - name: VUE_APP_METAPARAMS_BACKEND_ENDPOINT - value: REPLACE_ME_VUE_APP_METAPARAMS_BACKEND_ENDPOINT - - name: VUE_APP_PROXY_ENABLED - value: 'true' - - name: VUE_APP_SEARCH_ONLY_API_KEY - value: REPLACE_ME_VUE_APP_SEARCH_ONLY_API_KEY - - name: VUE_APP_TOOLS_INTERNAL_ENDPOINT - value: REPLACE_ME_VUE_APP_TOOLS_INTERNAL_ENDPOINT - -compute: - - name: web - port: 8080 - environment: - - name: LANG - value: en_US.UTF-8 - - name: NODE_ENV - value: production -# - name: VUE_APP_APP_ID -# secretName: vue-app-app-id -# - name: VUE_APP_METAPARAMS_BACKEND_ENDPOINT -# secretName: vue-app-metaparams-backend-endpoint -# - name: VUE_APP_PROXY_ENABLED -# value: 'true' -# - name: VUE_APP_SEARCH_ONLY_API_KEY -# secretName: vue-app-search-only-api-key -# - name: VUE_APP_TOOLS_INTERNAL_ENDPOINT -# secretName: vue-app-tools-internal-endpoint From 75369e593dc0b24722e789fdf2bed57791a60221 Mon Sep 17 00:00:00 2001 From: Quentin Renaud Date: Tue, 16 Jun 2026 18:03:27 +0200 Subject: [PATCH 2/3] fix(ci): typo --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f89e24a6..8a0e3b84 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "build": "yarn lerna run build", "start": "node server.js", "lint": "yarn lerna run lint", - "test": "yarn jest" + "test": "yarn test" }, "engines": { "node": "18.x" From 351c3a89bd2c8d57df5d46f94a278a1e0d299294 Mon Sep 17 00:00:00 2001 From: Quentin Renaud Date: Tue, 16 Jun 2026 18:17:58 +0200 Subject: [PATCH 3/3] fix(test): there is no test --- .github/workflows/ci.yml | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9cf743fa..9d6141fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,3 @@ jobs: - name: Build the project run: yarn build - - - name: Run Jest tests - run: yarn test diff --git a/package.json b/package.json index 8a0e3b84..5c43ba06 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "build": "yarn lerna run build", "start": "node server.js", "lint": "yarn lerna run lint", - "test": "yarn test" + "test": "echo \"No tests configured\" && exit 0" }, "engines": { "node": "18.x"