Skip to content

Commit 3a11a86

Browse files
committed
Pass path to repo root to composite action
1 parent 44f49e3 commit 3a11a86

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/actions/setup-env/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ runs:
1717
- uses: pnpm/action-setup@v4
1818
with:
1919
run_install: false
20+
package_json_file: ${{ inputs.path }}/package.json
2021

2122
- name: Install dependencies
2223
working-directory: ${{ inputs.path }}

.github/workflows/docgen.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ jobs:
1616
path: documentation
1717
ref: ${{ github.ref_name }}
1818

19-
- uses: ./.github/actions/setup-env
19+
- uses: ./documentation/.github/actions/setup-env
20+
with:
21+
path: documentation
2022

2123
- name: Checkout DevExtreme
2224
uses: actions/checkout@v4

0 commit comments

Comments
 (0)