From 402064ca3229bcbce5c4dbe6c7409c191fb8f8dc Mon Sep 17 00:00:00 2001 From: harold Date: Wed, 5 Apr 2023 10:07:51 -0400 Subject: [PATCH] Upload router-lib artifacts --- .github/workflows/main-build.yml | 12 ++++++++++++ .github/workflows/release.yml | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/.github/workflows/main-build.yml b/.github/workflows/main-build.yml index 5cd39725..4d04bbee 100644 --- a/.github/workflows/main-build.yml +++ b/.github/workflows/main-build.yml @@ -159,6 +159,13 @@ jobs: path: | packages/microapps-datalib/ !packages/microapps-datalib/node_modules/ + - name: Upload Router Lib artifact + uses: actions/upload-artifact@v3 + with: + name: router-lib-dist + path: | + packages/microapps-router-lib/ + !packages/microapps-router-lib/node_modules/ # # Release Assets - Dry Run Only # @@ -181,6 +188,11 @@ jobs: with: name: datalib-dist path: packages/microapps-datalib + - name: Download Router Lib build artifacts + uses: actions/download-artifact@v3 + with: + name: router-lib-dist + path: packages/microapps-router-lib - name: NPM registry authentication run: npm set //registry.npmjs.org/:_authToken ${{ secrets.NPMJSORG_PUBLISH_TOKEN }} - name: Release Publish Tool - NPM - Dry Run diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 365ad9a6..3cb01dcc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -154,6 +154,13 @@ jobs: path: | packages/microapps-datalib/ !packages/microapps-datalib/node_modules/ + - name: Upload Router Lib artifact + uses: actions/upload-artifact@v3 + with: + name: router-lib-dist + path: | + packages/microapps-router-lib/ + !packages/microapps-router-lib/node_modules/ release_npm: name: Publish to npm needs: release @@ -205,6 +212,11 @@ jobs: with: name: datalib-dist path: packages/microapps-datalib + - name: Download Router Lib build artifacts + uses: actions/download-artifact@v3 + with: + name: router-lib-dist + path: packages/microapps-router-lib # # Publish other non-JSII Artifacts to NPM #