From b05b550c4377acfc3adb917c1c5b7868c28536f0 Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Wed, 15 Feb 2023 16:56:53 -0500 Subject: [PATCH] use yarn lerna to publish --- .github/workflows/manual_npm_publish.yml | 5 +++-- lerna.json | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 lerna.json diff --git a/.github/workflows/manual_npm_publish.yml b/.github/workflows/manual_npm_publish.yml index 6f90f02..fe1e7ee 100644 --- a/.github/workflows/manual_npm_publish.yml +++ b/.github/workflows/manual_npm_publish.yml @@ -35,6 +35,7 @@ jobs: - name: Authenticate to git.vdb.to registry run: | npm config set -- '//git.vdb.to/api/packages/cerc-io/npm/:_authToken' "${{ secrets.GITEA_PUBLISH_TOKEN }}" - - name: lerna publish + - name: yarn lerna publish run: | - lerna publish from-package --no-git-tag-version --yes + yarn lerna publish from-package --no-git-tag-version --yes + diff --git a/lerna.json b/lerna.json new file mode 100644 index 0000000..1cbb426 --- /dev/null +++ b/lerna.json @@ -0,0 +1,5 @@ +{ + "version": "2.9.0", + "useWorkspaces": true, + "npmClient": "yarn" +}