Fix building web-apps by require sdkjs (#725)
Since this commit on develop
3636bf78c4
web-apps require file from `sdkjs` named
```
'../../../../sdkjs/common/device_scale.js'
```
So cloning of sdkjs is bring back
Currently it will close `sdkjs#develop` for any branches,
since implement cloning different branches for different
PR destanation in GitHub Actions is not a trivial task and
will take time to develop.
But maybe current variant will be enough in major cases
This commit is contained in:
parent
5857cf2ba8
commit
a66e1daac3
3
.github/workflows/check.yml
vendored
3
.github/workflows/check.yml
vendored
|
@ -12,4 +12,7 @@ jobs:
|
||||||
- name: Build using grunt
|
- name: Build using grunt
|
||||||
run: |
|
run: |
|
||||||
npm install --prefix build
|
npm install --prefix build
|
||||||
|
cd ..
|
||||||
|
git clone --branch=develop --depth=1 https://github.com/ONLYOFFICE/sdkjs.git
|
||||||
|
cd web-apps
|
||||||
grunt --level=ADVANCED --base build --gruntfile build/Gruntfile.js
|
grunt --level=ADVANCED --base build --gruntfile build/Gruntfile.js
|
||||||
|
|
Loading…
Reference in a new issue