From 734c52b33af22aa345d1034d22f91e284e6f4e05 Mon Sep 17 00:00:00 2001 From: John Harlow Date: Fri, 11 Oct 2024 15:30:11 -0700 Subject: [PATCH] test(workflow): use tarbell instead --- .github/workflows/main-merge.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main-merge.yml b/.github/workflows/main-merge.yml index f5c2d50..5a7d0e8 100644 --- a/.github/workflows/main-merge.yml +++ b/.github/workflows/main-merge.yml @@ -49,8 +49,13 @@ jobs: with: node-version: "20" cache: "pnpm" - - name: Publish 🚀 + - name: Pack the package + run: pnpm pack + - name: Publish tarball to npm 🚀 shell: bash - run: pnpm publish --access public --no-git-checks + run: |- + cat package.json | + jq '.version' | + xargs -I {} pnpm publish zod-to-dynamodb-onetable-schema-{}.tgz --access public --no-git-checks env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}