install node without sudo
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
checks / Check & Test (Frontend + Backend) (push) Failing after 1s
Gitea Actions Demo / Explore-Gitea-Actions (pull_request) Failing after 0s
checks / Check & Test (Frontend + Backend) (pull_request) Failing after 1s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
checks / Check & Test (Frontend + Backend) (push) Failing after 1s
Gitea Actions Demo / Explore-Gitea-Actions (pull_request) Failing after 0s
checks / Check & Test (Frontend + Backend) (pull_request) Failing after 1s
This commit is contained in:
@ -21,11 +21,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Node.js, npm, and Yarn
|
- name: Install Node.js, npm, and Yarn
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
apt update
|
||||||
sudo apt install -y curl
|
apt install -y curl
|
||||||
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
|
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
|
||||||
sudo apt install -y nodejs
|
apt install -y nodejs
|
||||||
sudo npm install -g yarn
|
npm install -g yarn
|
||||||
|
|
||||||
- name: Checkout repository manually
|
- name: Checkout repository manually
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user