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
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y curl
|
||||
apt update
|
||||
apt install -y curl
|
||||
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
|
||||
sudo apt install -y nodejs
|
||||
sudo npm install -g yarn
|
||||
apt install -y nodejs
|
||||
npm install -g yarn
|
||||
|
||||
- name: Checkout repository manually
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user