File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed
packages/vscode-extension Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
9
9
10
10
env :
11
11
VSCE_PAT : ${{ secrets.VSCE_PAT }}
12
+ OVSX_PAT : ${{ secrets.OPENVSX_TOKEN }}
12
13
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
13
14
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
14
15
npm_config_registry : " https://registry.npmjs.org"
73
74
- name : VS Code Marketplace publish
74
75
if : steps.changesets.outputs.hasChangesets == 'false' && steps.marketplace-version.outputs.version != steps.package-version.outputs.version
75
76
run : yarn publish:vsce
77
+
78
+ - name : Open VSX Registry publish
79
+ if : steps.changesets.outputs.hasChangesets == 'false' && steps.marketplace-version.outputs.version != steps.package-version.outputs.version
80
+ run : yarn publish:ovsx
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ on: workflow_dispatch
4
4
5
5
env :
6
6
VSCE_PAT : ${{ secrets.VSCE_PAT }}
7
+ OVSX_PAT : ${{ secrets.OPENVSX_TOKEN }}
7
8
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
8
9
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9
10
npm_config_registry : " https://registry.npmjs.org"
34
35
35
36
- name : VS Code Marketplace publish
36
37
run : yarn publish:vsce
38
+
39
+ - name : Open VSX Registry publish
40
+ run : yarn publish:ovsx
Original file line number Diff line number Diff line change 30
30
"playground" : " yarn --cwd packages/codemirror-language-client run dev:playground" ,
31
31
"prebuild:ts" : " rm -rf packages/*/dist" ,
32
32
"publish:vsce" : " yarn --cwd packages/vscode-extension publish:vsce" ,
33
+ "publish:ovsx" : " yarn --cwd packages/vscode-extension publish:ovsx" ,
33
34
"release" : " yarn workspace release-orchestrator run start" ,
34
35
"postrelease" : " yarn --cwd packages/prettier-plugin-liquid prerelease" ,
35
36
"reset" : " find . -name \" node_modules\" -type d -prune -exec rm -rf '{}' +" ,
Original file line number Diff line number Diff line change 50
50
"preinstall" : " sh scripts/fetch-syntaxes.sh" ,
51
51
"pretest" : " yarn run test:build && yarn run dev:build && yarn run lint" ,
52
52
"publish:vsce" : " vsce publish --no-dependencies $npm_package_version" ,
53
+ "publish:ovsx" : " ovsx publish $npm_package_version" ,
53
54
"test" : " vitest" ,
54
55
"test:build" : " tsc -p . --outDir out" ,
55
56
"test:watch" : " tsc -p . -w --outDir out" ,
80
81
"@vscode/test-electron" : " ^2.2.0" ,
81
82
"@vscode/test-web" : " ^0.0.62" ,
82
83
"@vscode/vsce" : " ^2.21.0" ,
84
+ "ovsx" : " ^0.10.4" ,
83
85
"chai" : " ^4.3.4" ,
84
86
"eslint" : " ^8.28.0" ,
85
87
"eslint-config-prettier" : " ^8.3.0" ,
You can’t perform that action at this time.
0 commit comments