Skip to content

Commit 99b7fd6

Browse files
Merge pull request #60 from terminusdb/new_dashboard_flow
Fix compilation and add npm publishing
2 parents 1e642c7 + 5d3c39c commit 99b7fd6

File tree

10 files changed

+18923
-10501
lines changed

10 files changed

+18923
-10501
lines changed

.github/workflows/main_workflow.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,22 @@ jobs:
9797
uses: ncipollo/[email protected]
9898
with:
9999
artifacts: packages/tdb-dashboard/dist/release.tar.gz
100+
101+
npm:
102+
name: Publish packages to npm
103+
runs-on: ubuntu-latest
104+
needs: [setup-build-publish-deploy]
105+
steps:
106+
- name: Checkout
107+
uses: actions/checkout@v3
108+
- name: Use Node.js ${{ matrix.node-version }}
109+
uses: actions/setup-node@v2
110+
with:
111+
node-version: 16
112+
- name: Build packages
113+
run: npm i && npm run build --ws
114+
- name: Publish workspaces
115+
if: ${{ github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v') }}
116+
env:
117+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
118+
run: npm run publish --ws

0 commit comments

Comments
 (0)