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: |