ci: Add Node.js installation step to Gitea Actions deploy workflow
Some checks failed
Deploy to OCIWP / deploy (push) Failing after 1s

This commit is contained in:
jade
2026-07-27 13:07:29 +09:00
parent 63187429b4
commit 7b8c38489e

View File

@@ -12,6 +12,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install Node.js (Prerequisite for Github Actions)
run: |
if ! command -v node &> /dev/null; then
echo "Node.js not found. Installing Node.js 20..."
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
fi
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v4 uses: actions/checkout@v4