Skip to content

Commit c2fc251

Browse files
committed
ci: publish internal for JsComponent npm packages
1 parent d441306 commit c2fc251

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

.github/workflows/publish-internal.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
-rigantiSecret "${{ secrets.SIGN_RIGANTI_SECRET }}" `
104104
-rigantiCertificate "${{ secrets.SIGN_RIGANTI_CERTIFICATE_NAME }}"
105105

106-
publish-dotvvm-types:
106+
publish-npm:
107107
runs-on: windows-2022
108108
needs: read-input
109109
steps:
@@ -129,6 +129,20 @@ jobs:
129129
cat "${{ github.workspace }}/ci/scripts/npm/dotvvm-types/package.json";
130130
working-directory: ci/scripts/npm/dotvvm-types
131131

132+
- name: Build JsComponent.React
133+
run: >
134+
npm ci
135+
npm version "${{ needs.read-input.outputs.version }}" --no-git-tag-version
136+
npm pack
137+
working-directory: src/Framework/JsComponent.React
138+
139+
- name: Build JsComponent.Svelte
140+
run: >
141+
npm ci
142+
npm version "${{ needs.read-input.outputs.version }}" --no-git-tag-version
143+
npm pack
144+
working-directory: src/Framework/JsComponent.Svelte
145+
132146
- name: Set internal npm registry
133147
run: >
134148
./ci/scripts/Set-NpmRegistry.ps1 `
@@ -141,3 +155,11 @@ jobs:
141155
- name: Publish dotvvm-types
142156
run: npm publish
143157
working-directory: ci/scripts/npm/dotvvm-types
158+
159+
- name: Publish JsComponent.React
160+
run: npm publish
161+
working-directory: src/Framework/JsComponent.React
162+
163+
- name: Publish JsComponent.Svelte
164+
run: npm publish
165+
working-directory: src/Framework/JsComponent.Svelte

0 commit comments

Comments
 (0)