From 1819e91a61dcb639593dcc59c3f587aca909c174 Mon Sep 17 00:00:00 2001 From: Benedek Farkas Date: Thu, 18 Sep 2025 23:28:21 +0200 Subject: [PATCH] Revert "Experimental compile workflow changes for better error detection" This reverts commit 4e18292616efa57c543a3f864e748ebffdb87550. --- .github/workflows/compile.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 518a68daa..7e689a8c1 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -1,4 +1,5 @@ name: Compile +# Compiles the solution and runs unit tests. on: workflow_dispatch: @@ -11,7 +12,6 @@ on: jobs: compile-dotnet: name: Compile .NET solution - if: false defaults: run: shell: pwsh @@ -72,25 +72,22 @@ jobs: - name: Setup NodeJS uses: actions/setup-node@v4.0.2 with: - node-version: 7 + node-version: '7' - name: Setup NPM Packages working-directory: ./src run: | + npm install --loglevel warn + # Install gulp globally to be able to run the rebuild task, using the same version as in the project. $gulpVersion = (Get-Content Package.json -Raw | ConvertFrom-Json).devDependencies.gulp Start-Process npm -NoNewWindow -Wait -ArgumentList "install gulp@$gulpVersion -g --loglevel warn" - npm install --loglevel warn - - name: Rebuild Client-side Assets - shell: cmd - working-directory: ./src - run: gulp rebuild - - - name: Check Client-side Assets working-directory: ./src run: | + gulp rebuild + git add . # To make line ending changes "disappear". $gitStatus = (git status --porcelain) if ($gitStatus)