fix ci
This commit is contained in:
parent
59f88af73c
commit
2f26519c7f
1 changed files with 7 additions and 8 deletions
15
.github/workflows/main.yaml
vendored
15
.github/workflows/main.yaml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue