Skip to content

Commit

Permalink
refactor: add missing bash shell to npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sbsrnt committed Mar 8, 2024
1 parent 283eaca commit e522364
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions preview-publish-package/01-publish-prerelease/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e522364

Please sign in to comment.