From 78a558bc5fecaa6e889aff784002c75d3a3ff83e Mon Sep 17 00:00:00 2001
From: Michael Shaw <michael@abastionofsanity.com>
Date: Thu, 13 Oct 2022 14:52:48 -0400
Subject: [PATCH] make publish yaml match manual workflow

---
 .github/workflows/publish.yaml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml
index 3455aa66..698d2c1c 100644
--- a/.github/workflows/publish.yaml
+++ b/.github/workflows/publish.yaml
@@ -27,7 +27,10 @@ jobs:
       matrix:
         node-version: [ 16.x ]
     steps:
-      - uses: actions/checkout@v2
+      - name: Checkout
+        uses: actions/checkout@v2
+        with:
+          fetch-depth: 0
       - name: Use Node.js ${{ matrix.node-version }}
         uses: actions/setup-node@v3
         with:
@@ -47,7 +50,6 @@ 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: yarn publish
+      - name: lerna publish
         run: |
-          yarn publish:workspace  
-
+          lerna publish from-package --no-git-tag-version --yes
\ No newline at end of file