From 8b713b02e79a2e35f27816a6061bb065c6b7f3d8 Mon Sep 17 00:00:00 2001 From: Vinh Date: Tue, 7 Jan 2025 17:00:59 -0800 Subject: [PATCH] update --- .github/workflows/dev-test-on-pr.yml | 2 +- .github/workflows/staging-test-on-pr.yml | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dev-test-on-pr.yml b/.github/workflows/dev-test-on-pr.yml index 30bf783..2c00dc8 100644 --- a/.github/workflows/dev-test-on-pr.yml +++ b/.github/workflows/dev-test-on-pr.yml @@ -50,5 +50,5 @@ jobs: export TEST_API_KEY="$(docker compose exec aggregator /ava create-api-key --role=admin --subject=apikey)" export ENDPOINT="localhost:2206" # We need to run yarn build here because the test is still importing from dist - yarn run build + yarn build yarn test diff --git a/.github/workflows/staging-test-on-pr.yml b/.github/workflows/staging-test-on-pr.yml index 9fdc813..7c3dd32 100644 --- a/.github/workflows/staging-test-on-pr.yml +++ b/.github/workflows/staging-test-on-pr.yml @@ -36,11 +36,7 @@ jobs: - name: Install dependencies run: yarn install - - name: Build typescript - run: | - npm run - npm run build - - name: Run tests againts staging AVS run: | + yarn build yarn test \ No newline at end of file