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 c050745 commit b13a7f5Copy full SHA for b13a7f5
.github/workflows/ci.yml
@@ -57,9 +57,20 @@ jobs:
57
58
- name: Install dependencies and build plugin
59
run: |
60
+ echo "Available directories:"
61
+ ls -l # This will list the directories in the current working directory
62
+
63
cd ${{ matrix.plugin }}
- pnpm install
- pnpm run build
64
+ echo "Changed directory to ${{ matrix.plugin }}"
65
66
+ # Check if the directory exists before trying to run pnpm
67
+ if [ -d "$PWD" ]; then
68
+ pnpm install
69
+ pnpm run build
70
+ else
71
+ echo "Error: Directory ${{ matrix.plugin }} does not exist!"
72
+ exit 1 # Fail the job if the directory does not exist
73
+ fi
74
env:
75
NODE_ENV: production
76
0 commit comments