Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions actions/package-bump/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ inputs:
description: 'Seconds to wait for npm package propagation before installing'
required: false
default: '30'
post_install_command:
description: 'Optional command to run after installing dependencies'
required: false
default: ''

runs:
using: 'composite'
Expand Down Expand Up @@ -59,6 +63,17 @@ runs:
fi
pnpm install

- name: Run post-install command
if: inputs.post_install_command != ''
shell: bash
run: |
if [ -n "${{ inputs.folder_path }}" ]; then
cd "tmp/${{ inputs.folder_path }}"
else
cd tmp
fi
${{ inputs.post_install_command }}

- name: Prepare Nuxt
shell: bash
run: |
Expand Down