From e5223640560abb57db2e4377a501e45dd6a36aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Krzy=C5=BCanowski?= Date: Fri, 8 Mar 2024 10:10:00 +0100 Subject: [PATCH] refactor: add missing bash shell to npm scripts --- preview-publish-package/01-publish-prerelease/action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/preview-publish-package/01-publish-prerelease/action.yml b/preview-publish-package/01-publish-prerelease/action.yml index 216bd92..1087fa0 100644 --- a/preview-publish-package/01-publish-prerelease/action.yml +++ b/preview-publish-package/01-publish-prerelease/action.yml @@ -14,7 +14,7 @@ inputs: outputs: changelog: - description: "`lerna changed --json` output" + description: "`lerna changed --json` output" # https://github.com/lerna/lerna/tree/main/libs/commands/list#--json value: ${{ steps.lerna_prerelease.outputs.changelog }} runs: @@ -47,9 +47,11 @@ runs: - name: Install dependencies run: npm ci + shell: bash - name: Build run: npm run build + shell: bash - name: Lerna publish pre-release id: publish-prerelease @@ -65,7 +67,7 @@ runs: - name: Write changelog to a file id: create-changelog-artifact if: steps.publish-prerelease.outcome == 'success' - run: echo "${{ needs.publish-prerelease.outputs.changelog }}" >> changelog.txt + run: echo "${{ steps.publish-prerelease.outputs.changelog }}" >> changelog.txt shell: bash - name: Upload changelog as an artifact