This commit is contained in:
@@ -17,9 +17,24 @@ jobs:
|
|||||||
|
|
||||||
- name: Check PWD
|
- name: Check PWD
|
||||||
run: |
|
run: |
|
||||||
echo $DOCKER_VOLUME
|
echo "Docker volume: $DOCKER_VOLUME"
|
||||||
echo $PWD
|
echo "PWD: $PWD"
|
||||||
ls .
|
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
|
- name: Restore node_modules
|
||||||
id: cache-node
|
id: cache-node
|
||||||
|
|||||||
Reference in New Issue
Block a user