From 698b570ee6e300d6703015464f4345b5e706f1cb Mon Sep 17 00:00:00 2001 From: undergroundwires Date: Tue, 26 Sep 2023 16:22:35 +0200 Subject: [PATCH] Fix working directory in CI/CD web release This commit fixes the CI/CD website release process which was failing due to an incorrect working directory setting. The `working-directory` is now correctly set within the action workflow, ensuring the `npm run install-deps` command runs in project root directory where `package.json` exists. --- .github/actions/npm-install-dependencies/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/npm-install-dependencies/action.yml b/.github/actions/npm-install-dependencies/action.yml index a9a1b388..e0788a19 100644 --- a/.github/actions/npm-install-dependencies/action.yml +++ b/.github/actions/npm-install-dependencies/action.yml @@ -8,4 +8,5 @@ runs: - name: Run `npm ci` with retries shell: bash - run: npm run install-deps -- --ci --root-directory "${{ inputs.working-directory }}" + run: npm run install-deps -- --ci + working-directory: ${{ inputs.working-directory }}