From 1e24e9e8189d2efba94e47e6146f18c8ca32d624 Mon Sep 17 00:00:00 2001 From: Jeremy Valentine <38669521+valentine195@users.noreply.github.com> Date: Sat, 24 Feb 2024 11:36:49 -0500 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 35a1b9a..c0e47ba 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -10,9 +10,7 @@ on: jobs: build: - runs-on: ubuntu-latest - strategy: matrix: node-version: [20.x] @@ -35,6 +33,7 @@ jobs: name: build path: build publish: + needs: build runs-on: ubuntu-latest steps: # The logic below handles the npm publication: @@ -51,7 +50,6 @@ jobs: with: name: build path: build - - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}