install node js
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user