Splitting up steps in the compile-node job of the compile workflow

This commit is contained in:
Benedek Farkas
2025-09-18 23:35:56 +02:00
parent c130566943
commit 70ed45da22

View File

@@ -74,18 +74,21 @@ jobs:
with:
node-version: 7
- name: Setup NPM Packages
- name: Install Gulp Globally
working-directory: ./src
run: |
# 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: Setup NPM Packages
working-directory: ./src
shell: cmd
run: npm install --loglevel warn
- name: Rebuild Client-side Assets
shell: cmd
working-directory: ./src
shell: cmd
run: gulp rebuild
- name: Check Client-side Assets