File tree Expand file tree Collapse file tree 4 files changed +24
-40
lines changed
Expand file tree Collapse file tree 4 files changed +24
-40
lines changed Original file line number Diff line number Diff line change 4444 run : npm ci
4545
4646 - name : Test
47- run : make test
47+ run : xvfb-run -a make test
4848 env :
4949 LOCALSTACK_WEB_AUTH_REDIRECT : https://app.localstack.cloud/redirect?name=VSCode
5050 NODE_ENV : ci
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Publish to Visual Studio Marketplace
1+ name : Publish Extension
22
33on :
44 workflow_dispatch :
5+ inputs :
6+ publish_vscode_marketplace :
7+ description : ' Publish to VS Marketplace'
8+ type : boolean
9+ default : true
10+ publish_ovsx :
11+ description : ' Publish to Open VSX'
12+ type : boolean
13+ default : true
514
615permissions :
716 contents : read
817
918jobs :
1019 publish :
11- name : Publish to VS Marketplace
20+ name : Publish Extension
1221 runs-on : ubuntu-latest
1322
1423 steps :
@@ -27,10 +36,21 @@ jobs:
2736 uses : ./.github/actions/set-version
2837
2938 - name : Publish to VS Marketplace
39+ if : ${{ inputs.publish_vscode_marketplace != false }}
3040 run : make publish-marketplace
3141 env :
3242 VERSION : ${{ env.VERSION }}
3343 VSCE_PAT : ${{ secrets.VSCE_PAT }}
3444 LOCALSTACK_WEB_AUTH_REDIRECT : https://app.localstack.cloud/redirect?name=VSCode
3545 NODE_ENV : production
3646 ANALYTICS_API_URL : https://analytics.localstack.cloud/v1/events
47+
48+ - name : Publish to Open VSX
49+ if : ${{ inputs.publish_ovsx != false }}
50+ run : make publish-ovsx
51+ env :
52+ VERSION : ${{ env.VERSION }}
53+ OVSX_PAT : ${{ secrets.OVSX_PAT }}
54+ LOCALSTACK_WEB_AUTH_REDIRECT : https://app.localstack.cloud/redirect?name=VSCode
55+ NODE_ENV : production
56+ ANALYTICS_API_URL : https://analytics.localstack.cloud/v1/events
Original file line number Diff line number Diff line change 1515 @echo " Compiling extension..."
1616 npx vsce package
1717 @echo " Running tests..."
18- xvfb-run -a npx vscode-test
18+ npx vscode-test
1919
2020publish-marketplace :
2121 @echo " Publishing VS Code extension to VS Marketplace..."
You can’t perform that action at this time.
0 commit comments