mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Compare commits
4 Commits
BenedekFar
...
BenedekFar
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f4279627a | ||
|
|
70ed45da22 | ||
|
|
c130566943 | ||
|
|
4f9ae102db |
18
.github/workflows/compile.yml
vendored
18
.github/workflows/compile.yml
vendored
@@ -71,22 +71,28 @@ jobs:
|
|||||||
- name: Setup NodeJS
|
- name: Setup NodeJS
|
||||||
uses: actions/setup-node@v4.0.2
|
uses: actions/setup-node@v4.0.2
|
||||||
with:
|
with:
|
||||||
node-version: '7'
|
node-version: 7
|
||||||
|
|
||||||
- name: Setup NPM Packages
|
- name: Install Gulp Globally
|
||||||
working-directory: ./src
|
working-directory: ./src
|
||||||
run: |
|
run: |
|
||||||
npm install --loglevel warn
|
|
||||||
|
|
||||||
# Install gulp globally to be able to run the rebuild task, using the same version as in the project.
|
# 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
|
$gulpVersion = (Get-Content Package.json -Raw | ConvertFrom-Json).devDependencies.gulp
|
||||||
Start-Process npm -NoNewWindow -Wait -ArgumentList "install gulp@$gulpVersion -g --loglevel warn"
|
Start-Process npm -NoNewWindow -Wait -ArgumentList "install gulp@$gulpVersion -g --loglevel warn"
|
||||||
|
|
||||||
|
- name: Setup NPM Packages
|
||||||
|
working-directory: ./src
|
||||||
|
shell: cmd
|
||||||
|
run: npm install --loglevel warn
|
||||||
|
|
||||||
- name: Rebuild Client-side Assets
|
- name: Rebuild Client-side Assets
|
||||||
working-directory: ./src
|
working-directory: ./src
|
||||||
run: |
|
shell: cmd
|
||||||
gulp rebuild
|
run: gulp rebuild
|
||||||
|
|
||||||
|
- name: Check Client-side Assets
|
||||||
|
working-directory: ./src
|
||||||
|
run: |
|
||||||
git add . # To make line ending changes "disappear".
|
git add . # To make line ending changes "disappear".
|
||||||
$gitStatus = (git status --porcelain)
|
$gitStatus = (git status --porcelain)
|
||||||
if ($gitStatus)
|
if ($gitStatus)
|
||||||
|
|||||||
Reference in New Issue
Block a user