Skip to content

Commit 5aa36af

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

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

.github/workflows/publish-internal.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272

7373
- name: Set up
7474
uses: ./.github/setup
75-
75+
7676
- name: Add internal NuGet feed
7777
run: ./ci/scripts/Add-InternalNuGetFeed.ps1 `
7878
-internalFeed "${{ secrets.AZURE_ARTIFACTS_FEED }}" `
@@ -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)