Skip to content

Commit

Permalink
Upload router-lib artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
huntharo committed Apr 5, 2023
1 parent ba57e6a commit 402064c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand All @@ -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
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
#
Expand Down

0 comments on commit 402064c

Please sign in to comment.