install node js

This commit is contained in:
Patrick
2025-10-29 11:24:18 +01:00
parent 211676866f
commit 44fe1e6709

View File

@ -18,8 +18,17 @@ jobs:
echo "Triggered by ${{ gitea.event_name }} event" echo "Triggered by ${{ gitea.event_name }} event"
echo "Branch: ${{ gitea.ref }}" echo "Branch: ${{ gitea.ref }}"
echo "Repository: ${{ gitea.repository }}" echo "Repository: ${{ gitea.repository }}"
- name: Install Node.js
run: |
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
node -v
npm -v
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: List repo files - name: List repo files
run: ls . run: ls .
- name: Done - name: Done