diff --git a/.gitea/workflows/gitea-ci.yml b/.gitea/workflows/gitea-ci.yml index c2c7df5..ad14a4c 100644 --- a/.gitea/workflows/gitea-ci.yml +++ b/.gitea/workflows/gitea-ci.yml @@ -17,9 +17,24 @@ jobs: - name: Check PWD run: | - echo $DOCKER_VOLUME - echo $PWD - ls . + echo "Docker volume: $DOCKER_VOLUME" + echo "PWD: $PWD" + ls -la . + + - name: Validate Node and Yarn Environment + run: | + if ! command -v node &> /dev/null + then + echo "Error: Node.js not found" + exit 1 + fi + echo "Node.js version: $(node -v)" + + if ! command -v yarn &> /dev/null + then + echo "Error: Yarn.js not found" + exit 1 + fi - name: Restore node_modules id: cache-node