Skip to content

Commit

Permalink
Add actionlint dependencies on private runner
Browse files Browse the repository at this point in the history
  • Loading branch information
joernott committed Jul 30, 2024
1 parent 0eaddf7 commit d337cb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/universal_workflow_light.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1242,14 +1242,14 @@ jobs:
if: ${{ always() && needs.init.outputs.actionlint_skip != 'true' }}
runs-on: ${{ fromJSON(inputs.runs_on) }}
steps:
- name: Install npm on private runner
- name: Install software on private runner
if: ${{ inputs.runs_on != '"ubuntu-latest"'}}
run: |
NPM=$(type -p 'npm'||true)
if [ -z "${NPM}" ]; then
echo -e "\033[0;35m### Installing npm ###\033[0m"
sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
sudo apt-get -qq install npm
sudo apt-get -qq install npm shellcheck pipx
fi
- name: Checkout
Expand Down

0 comments on commit d337cb8

Please sign in to comment.