feat: Lerna

Links root and ui packages together, running `pnpm i` in the root folder will also install deps in the ui folder, same with the build script.
This commit is contained in:
Luke committed 2022-05-02 21:03:35 +02:00
1 parent fc0c025db2
commit dadc7ff15f
6 files changed
+4269 -283

No files matched your search

+3 -7
View File
@@ -22,15 +22,11 @@ jobs:
fetch-depth: 0
ref: ${{ github.ref }}
- name: Install root dependencies
run: yarn
- name: Install ui dependencies
run: yarn
working-directory: ui
- name: Install dependencies
run: pnpm i
- name: Run build
run: yarn build
run: pnpm build
- name: Bundle files
run: |
+2 -6
View File
@@ -30,12 +30,8 @@ jobs:
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Install root dependencies
run: pnpm install
- name: Install ui dependencies
run: pnpm install
working-directory: ui
- name: Install dependencies
run: pnpm i
- name: Run build
run: pnpm build