Skip to content

Commit

Permalink
Merge pull request #31 from samrith-s/patch-1
Browse files Browse the repository at this point in the history
Fix issue with packager installation if path is not repository root
  • Loading branch information
Princesseuh committed Jan 3, 2024
2 parents 8529b4c + c5bc57a commit 64c331d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ runs:
steps:
- name: Check lockfiles
shell: "bash"
working-directory: ${{ inputs.path }}
env:
INPUT_PM: ${{ inputs.package-manager }}
run: |
Expand Down Expand Up @@ -82,17 +83,16 @@ runs:

- name: Install
shell: "bash"
run: |
cd ${{ inputs.path }}
$PACKAGE_MANAGER install
working-directory: ${{ inputs.path }}
run: $PACKAGE_MANAGER install

- name: Build
shell: "bash"
run: |
cd ${{ inputs.path }}
$PACKAGE_MANAGER run build
working-directory: ${{ inputs.path }}
run: $PACKAGE_MANAGER run build

- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v3
working-directory: ${{ inputs.path }}
with:
path: "${{ inputs.path }}/dist/"
path: "dist"

0 comments on commit 64c331d

Please sign in to comment.