Skip to content

Commit

Permalink
Init customer dashboard demo
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlizhi committed Jul 9, 2024
1 parent 78d07b9 commit 8d6da9e
Show file tree
Hide file tree
Showing 8 changed files with 8,523 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Publish to npmjs

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest

defaults:
run:
working-directory: packages

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm ci

- name: Configure npm for lerna
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Set up Git user
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
# - name: Bootstrap packages
# run: npx lerna bootstrap

# - name: Run testsnpx lerna bootstrap
# run: npx lerna run test

- name: Publish packages
run: npx lerna publish from-package --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
tools/configuration/dist/
tools/configuration/node_modules/
packages/node_modules/
Loading

0 comments on commit 8d6da9e

Please sign in to comment.