From 5185977bcfc7dd01c02b480ab6d5b8c70dfad925 Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Mon, 26 Aug 2019 22:07:33 -0400 Subject: [PATCH] Update nodejs.yml --- .github/workflows/nodejs.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 7991e3fc..129b4b21 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -40,11 +40,9 @@ jobs: with: node-version: 12 registry-url: https://registry.npmjs.org/ - - run: | - npm install - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + - run: npm install && npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} publish-gpr: needs: build @@ -56,9 +54,7 @@ jobs: node-version: 12 registry-url: https://npm.pkg.github.com/ scope: '@hodgef' - - run: | - npm install - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.GH_TOKEN}} + - run: npm install && npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.GH_TOKEN}}