From bed3ba5bee10db690a385493150c185909cd87f4 Mon Sep 17 00:00:00 2001 From: scottrepreneur Date: Wed, 27 Dec 2023 07:04:31 -0600 Subject: [PATCH] Clean up publish.yml --- .github/workflows/publish.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 10428a3..649a2d0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,12 +11,11 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v2 # Use PNPM with: version: 8 - # Setup .npmrc file to publish to npm + # Setup .npmrc file to publish to npm - uses: actions/setup-node@v3 with: node-version: '18.x' @@ -32,7 +31,7 @@ jobs: - name: Publish NPM Package run: npm publish --non-interactive --access public - env: + env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} - name: Update GH Pages