feature/setup-workflow-pipeline: add lombok, add gitea workflow #2

Merged
chimeudeonwop merged 102 commits from feature/setup-workflow-pipeline into main 2025-10-31 16:46:56 +00:00
13 changed files with 273 additions and 275 deletions
Showing only changes of commit 5d2ad902fb - Show all commits

View File

@ -21,12 +21,39 @@ jobs:
- name: Install Node.js, npm, and Yarn
run: |
apt update
apt install -y curl
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
set -e
echo "Detecting OS and installing Node.js, npm, and Yarn..."
if command -v apt >/dev/null 2>&1; then
echo "Using apt package manager (Debian/Ubuntu)..."
apt update -y
apt install -y curl ca-certificates
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt install -y nodejs
npm install -g yarn
elif command -v apk >/dev/null 2>&1; then
echo "Using apk package manager (Alpine)..."
apk update
apk add --no-cache curl nodejs npm
npm install -g yarn
elif command -v dnf >/dev/null 2>&1; then
echo "Using dnf package manager (Fedora/RHEL)..."
dnf install -y curl ca-certificates nodejs npm
npm install -g yarn
else
echo "No supported package manager found (apt, apk, dnf)."
exit 1
fi
echo "Node.js, npm, and Yarn installed successfully."
node -v
npm -v
yarn -v
- name: Checkout repository manually
env:
TOKEN: ${{ secrets.ACCESS_TOKEN }}
@ -40,9 +67,6 @@ jobs:
- name: List repo files and dependencies versions
run: |
ls .
node -v
npm -v
yarn -v
- name: Done
run: echo "Workflow finished."