Теперь npm мозга трахает
Some checks failed
Gitea Actions / Explore-Gitea-Actions (push) Failing after 2s

This commit is contained in:
p.belezov 2024-03-12 17:02:45 +08:00
parent 3c08e0ea8a
commit b94609f99d

View File

@ -15,14 +15,14 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- run: echo "Repo pulled" - run: echo "Repo pulled"
- run: echo "Updating npm dependencies..." - run: echo "Updating npm dependencies..."
- run: npm i - run: nvm use 18.19.0; npm i;
- run: echo "NPM dependencies updated" - run: echo "NPM dependencies updated"
- run: echo "Updating composer dependencies..." - run: echo "Updating composer dependencies..."
- run: export COMPOSER_ALLOW_SUPERUSER=1; composer show; composer install; - run: export COMPOSER_ALLOW_SUPERUSER=1; composer show; composer install;
- run: echo "Composer dependencies updated" - run: echo "Composer dependencies updated"
- run: echo "Building frontend..." - run: echo "Building frontend..."
- run: npm run build - run: nvm use 18.19.0; npm run build;
- run: echo "Frontend built" - run: echo "Frontend built"
- run: echo "Starting Gitea service" - run: echo "Starting Gitea service"
- run: systemctl start gitea - run: systemctl start resume
- run: echo "Gitea service started" - run: echo "Gitea service started"