File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -33,23 +33,20 @@ jobs:
3333 build :
3434 name : Build
3535 runs-on : ubuntu-latest
36- defaults :
37- run :
38- working-directory : docs
3936
4037 steps :
4138 - name : Checkout
4239 uses : actions/checkout@v4
4340 - name : Detect package manager
4441 id : detect-package-manager
4542 run : |
46- if [ -f "${{ github.workspace }}/yarn.lock" ]; then
43+ if [ -f "${{ github.workspace }}/docs/ yarn.lock" ]; then
4744 echo "manager=yarn" >> $GITHUB_OUTPUT
4845 echo "command=install" >> $GITHUB_OUTPUT
4946 echo "runner=yarn" >> $GITHUB_OUTPUT
5047 echo "lockfile=yarn.lock" >> $GITHUB_OUTPUT
5148 exit 0
52- elif [ -f "${{ github.workspace }}/package.json" ]; then
49+ elif [ -f "${{ github.workspace }}/docs/ package.json" ]; then
5350 echo "manager=npm" >> $GITHUB_OUTPUT
5451 echo "command=ci" >> $GITHUB_OUTPUT
5552 echo "runner=npx --no-install" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments