From c2259ba9192fa12634d992929ac18ac8691689ca Mon Sep 17 00:00:00 2001 From: Milos Djermanovic Date: Thu, 4 May 2023 13:33:58 +0200 Subject: [PATCH 1/2] chore: add `npm install` step to release-please workflow --- .github/workflows/release-please.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index cabb1ea4..dd87d051 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -35,6 +35,8 @@ jobs: node-version: lts/* registry-url: https://registry.npmjs.org if: ${{ steps.release.outputs.release_created }} + - run: npm install + if: ${{ steps.release.outputs.release_created }} - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} From b61b8104d062012932156d85381f5d7ccb39d6b2 Mon Sep 17 00:00:00 2001 From: Milos Djermanovic Date: Fri, 5 May 2023 11:46:25 +0200 Subject: [PATCH 2/2] Update .github/workflows/release-please.yml Co-authored-by: Nicholas C. Zakas --- .github/workflows/release-please.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index dd87d051..77da1507 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -35,9 +35,9 @@ jobs: node-version: lts/* registry-url: https://registry.npmjs.org if: ${{ steps.release.outputs.release_created }} - - run: npm install - if: ${{ steps.release.outputs.release_created }} - - run: npm publish + - run: | + npm install + npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} if: ${{ steps.release.outputs.release_created }}