From 2f26519c7fe4ebca951d8df9387a7639ae47e4b6 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Sun, 11 Aug 2024 18:19:17 -0700 Subject: [PATCH] fix ci --- .github/workflows/main.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ee3fb2e99..3591d3e23 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -102,6 +102,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 @@ -112,14 +119,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: |