From 145f77c5e463c7cbd7dd7484cf53534335e4653c Mon Sep 17 00:00:00 2001 From: Collin Herber Date: Fri, 3 Nov 2023 10:49:09 -0400 Subject: [PATCH] chore: update to setup node v4 --- .github/workflows/publish-preview.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-preview.yml b/.github/workflows/publish-preview.yml index bf7072a..837885e 100644 --- a/.github/workflows/publish-preview.yml +++ b/.github/workflows/publish-preview.yml @@ -27,7 +27,7 @@ jobs: uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 - name: Setup Node with pnpm Cache - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'pnpm' @@ -37,6 +37,7 @@ jobs: - name: Run publish run: | + echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc. git config --global user.name 'Betsy CI' git config --global user.email 'support@betsybot.xyz' pnpm publish --no-git-checks