update main.yaml
This commit is contained in:
parent
d392a0fb43
commit
bdd64496fe
1 changed files with 9 additions and 0 deletions
9
.github/workflows/main.yaml
vendored
9
.github/workflows/main.yaml
vendored
|
|
@ -95,6 +95,14 @@ jobs:
|
|||
cd core
|
||||
npm ci
|
||||
|
||||
# 2.25 Run core tests
|
||||
- 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
|
||||
|
|
@ -214,6 +222,7 @@ jobs:
|
|||
|
||||
# 3. Publish the extension to Open VSX Registry
|
||||
- name: Publish (Open VSX Registry)
|
||||
continue-on-error: true
|
||||
run: |
|
||||
cd extensions/vscode
|
||||
npx ovsx publish -p ${{ secrets.VSX_REGISTRY_TOKEN }} --packagePath ../../alpine-x64/*.vsix ../../darwin-arm64/*.vsix ../../darwin-x64/*.vsix ../../linux-arm64/*.vsix ../../linux-armhf/*.vsix ../../linux-x64/*.vsix ../../win32-x64/*.vsix ../../win32-arm64/*.vsix
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue