Adding in npm install step.
This commit is contained in:
@@ -16,16 +16,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: main
|
ref: main
|
||||||
|
|
||||||
- name: Install aha
|
- name: Install dependencies for ansi-to-html
|
||||||
run: |
|
uses: bahmutov/npm-install@v1
|
||||||
set -e
|
with:
|
||||||
sudo apt-get -qq update >/dev/null
|
working-directory: ./path/to/actions-ansi-to-html
|
||||||
if sudo apt-get -qq install -y aha >/dev/null 2>&1; then
|
useLockFile: true
|
||||||
echo "✅ Successfully installed aha."
|
install-command: npm ci --silent
|
||||||
else
|
|
||||||
echo "❌ Failed to install aha." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Generate system info (ANSI preserved)
|
- name: Generate system info (ANSI preserved)
|
||||||
id: gen-sysinfo
|
id: gen-sysinfo
|
||||||
|
|||||||
Reference in New Issue
Block a user