We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c71034 commit 2a94749Copy full SHA for 2a94749
.github/workflows/pr-build.yml
@@ -17,14 +17,21 @@ jobs:
17
name: Full Test on Node.js version ${{ matrix.node-version }}
18
with:
19
node-version: ${{ matrix.node-version }}
20
- - name: Install dependencies
+ - name: Install dependencies with status output
21
run: |
22
npm install --legacy-peer-deps --verbose &
23
pid=$!
24
while kill -0 $pid 2> /dev/null; do
25
echo "Still installing..."; sleep 60
26
done
27
wait $pid
28
+ exit_code=$?
29
+ if [ $exit_code -eq 0 ]; then
30
+ echo "npm install completed successfully (exit code: $exit_code)"
31
+ else
32
+ echo "npm install FAILED with exit code $exit_code"
33
+ fi
34
+ exit $exit_code
35
- name: Build & test components-core
36
37
npm run ncc:build
0 commit comments