From 440168054e3ab096ea722eb1ce81116b5196a955 Mon Sep 17 00:00:00 2001 From: Helene Nguyen Date: Thu, 18 Apr 2024 10:32:53 +0200 Subject: [PATCH] [POC/CI] correct yml file --- .github/workflows/ci-test.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index e7680d8e9e73..6716df502fa0 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -41,26 +41,31 @@ jobs: - name: Run linter and check TS run: | + cd opencti-platform/opencti-front yarn lint yarn check-ts - name: Run unit and integration tests - run: yarn test + run: | + cd opencti-platform/opencti-front + yarn test - name: Run test e2e run: | + cd opencti-platform/opencti-front yarn playwright install --with-deps yarn test:e2e - name: Install backend dependencies into Alpine run: | - cd ../opencti-graphql + cd opencti-platform/opencti-graphql yarn install yarn build shell: alpine.sh {0} - name: Run linter and check TS run: | + cd opencti-platform/opencti-graphql yarn lint yarn check-ts