Skip to content

Commit

Permalink
fix preview ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed Aug 14, 2024
1 parent ae3325d commit a0956e6
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit a0956e6

Please sign in to comment.