Исправлен ранер

This commit is contained in:
RoyceDa
2026-02-25 23:39:50 +02:00
parent 5d8528233a
commit 2016b06cd2

View File

@@ -9,13 +9,16 @@ jobs:
build:
runs-on: java-builders
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: '22'
run: |
if command -v apt-get &> /dev/null; then
sudo apt-get update && sudo apt-get install -y nodejs npm
elif command -v brew &> /dev/null; then
brew install node
fi
- name: Checkout code
uses: actions/checkout@v6
- name: Set up JDK 21
uses: actions/setup-java@v4