From a0956e614ed40b44956b394aef20d44d283cd82d Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Tue, 13 Aug 2024 17:20:42 -0700 Subject: [PATCH] fix preview ci tests --- .github/workflows/preview.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index 6fca2c0ad..aea470286 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -97,6 +97,13 @@ jobs: cd core npm ci + - name: Run core tests + run: | + cd core + npm run test + env: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + # 2.5. Pre package - name: Set var for environment info shell: pwsh @@ -107,14 +114,6 @@ jobs: cd extensions/vscode npm run prepackage -- --target ${{ env.target }} - # 2.75 Run core tests - - name: Run core tests - run: | - cd core - npm run test - env: - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - # 3. Re-install esbuild (for cases that we force installed for another arch in prepackage.js) - name: Re-install esbuild run: |