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