diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 5d5e50da..0ff4bd69 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -7,7 +7,7 @@ env: CONFIGURATION: Release DOTNET_CORE_VERSION: 7.0.x WORKING_DIRECTORY: devblog - CLIENT_APP_DIRECTORY: devblog/devblog/ClientApp + CLIENT_APP_DIRECTORY: .\devblog\devblog\ClientApp jobs: build: runs-on: windows-latest @@ -21,7 +21,7 @@ jobs: run: dotnet restore "${{ env.WORKING_DIRECTORY }}" - name: Dotnet Build run: dotnet build "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-restore - - name: NPM run build "${{ env.CLIENT_APP_DIRECTORY }}" + - name: npm --prefix "${{ env.CLIENT_APP_DIRECTORY }}" run build run: npm run build - name: Test run: dotnet test "${{ env.WORKING_DIRECTORY }}" --no-build