diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 7bfa5ef33..0a48156b6 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -20,6 +20,9 @@ jobs: uses: actions/setup-node@v3 with: node-version: "${{ steps.nvm.outputs.NODE_VERSION }}" + - uses: actions/setup-dotnet@v2 + with: + dotnet-version: "7.0.403" - name: Install deps run: yarn - name: Prepare @@ -47,6 +50,9 @@ jobs: uses: actions/setup-node@v3 with: node-version: "${{ steps.nvm.outputs.NODE_VERSION }}" + - uses: actions/setup-dotnet@v2 + with: + dotnet-version: "7.0.403" - name: Install deps run: yarn - name: Prepare diff --git a/.github/workflows/pull-request-master.yaml b/.github/workflows/pull-request-master.yaml index 4c82448d8..a90e4626c 100644 --- a/.github/workflows/pull-request-master.yaml +++ b/.github/workflows/pull-request-master.yaml @@ -22,16 +22,19 @@ jobs: uses: actions/setup-node@v3 with: node-version: "${{ steps.nvm.outputs.NODE_VERSION }}" + - uses: actions/setup-dotnet@v2 + with: + dotnet-version: "7.0.403" - name: Install deps run: yarn - name: Prepare - run: yarn nx run-many --target=prepare --parallel --all + run: yarn nx run-many --target=prepare --parallel --all --verbose env: ONEPASSWORD_TOKEN: ${{ secrets.ONEPASSWORD_TOKEN }} ONEPASSWORD_SERVER_URL: ${{ secrets.ONEPASSWORD_SERVER_URL }} ONEPASSWORD_VAULT_ID: ${{ secrets.ONEPASSWORD_VAULT_ID }} - name: Run all unit tests - run: yarn nx run-many --target=test/unit --all --parallel + run: yarn nx run-many --target=test/unit --all --parallel --verbose build: name: Verify PR - Buildable @@ -49,6 +52,9 @@ jobs: uses: actions/setup-node@v3 with: node-version: "${{ steps.nvm.outputs.NODE_VERSION }}" + - uses: actions/setup-dotnet@v2 + with: + dotnet-version: "7.0.403" - name: Install deps run: yarn - name: Prepare diff --git a/apps/playnite-web-plugin/project.json b/apps/playnite-web-plugin/project.json index 1b172fbb9..c222bcd1c 100644 --- a/apps/playnite-web-plugin/project.json +++ b/apps/playnite-web-plugin/project.json @@ -14,14 +14,14 @@ "build": { "executor": "nx:run-commands", "options": { - "command": "dotnet build --configuration Release --no-dependencies", + "command": "dotnet build --configuration Release --no-dependencies --framework net4.6.2", "cwd": "{projectRoot}/src" } }, "test/unit": { "executor": "nx:run-commands", "options": { - "command": "dotnet build && dotnet test --results-directory ../../../.test-runs/unit --configuration Release --framework net4.6.2", + "command": "dotnet test --results-directory ../../../.test-runs/unit --configuration Release --framework net4.6.2", "cwd": "{projectRoot}/tests/unit/src" } }