-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEP Update jquery-ui in thirdparty folder
- Loading branch information
1 parent
2c0962b
commit 5601812
Showing
25 changed files
with
17,182 additions
and
10,202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
# DO NOT MERGE | ||
# Used to debug why client/dist/js/vendor.js is different from local and failing js diff test | ||
|
||
name: Test | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
php: | ||
- 7.4 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Make artifacts dir | ||
run: mkdir artifacts | ||
|
||
- name: Tests | ||
run: | | ||
echo "Running JS tests" | ||
if [[ ! -f package.json ]]; then | ||
echo "package.json missing" | ||
exit 1 | ||
fi | ||
if [[ ! -f .nvmrc ]]; then | ||
echo "Missing .nvmrc" | ||
exit 1 | ||
fi | ||
wget https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | ||
php -r ' | ||
$hash = "dd4b116a7452fc3bb8c0e410ceac27e19b0ba0f900fe2f91818a95c12e92130fdfb8170fec170b9fb006d316f6386f2b"; | ||
if (hash_file("sha384", "install.sh") === $hash) { | ||
echo "Installer verified"; | ||
} else { | ||
echo "Installer corrupt"; | ||
unlink('install.sh'); | ||
} | ||
echo PHP_EOL; | ||
' | ||
if [[ ! -f install.sh ]]; then | ||
echo "Cannot install nvm" | ||
exit 1 | ||
fi | ||
. install.sh | ||
rm install.sh | ||
export NVM_DIR="$HOME/.nvm" | ||
# this loads nvm into the current terminal | ||
[[ -s "$NVM_DIR/nvm.sh" ]] && \. "$NVM_DIR/nvm.sh" | ||
ADMIN_NPM_VERSION= | ||
if [[ -d vendor/silverstripe/admin ]]; then | ||
cd vendor/silverstripe/admin | ||
nvm install | ||
nvm use | ||
ADMIN_NPM_VERSION=$(npm -v) | ||
npm install -g yarn | ||
yarn install --network-concurrency 1 | ||
cd ../../.. | ||
fi | ||
nvm install | ||
nvm use | ||
if [[ $(npm -v) != $ADMIN_NPM_VERSION ]]; then | ||
npm install -g yarn; | ||
fi | ||
yarn install --network-concurrency 1 | ||
if [[ $(cat package.json | jq -r '.scripts.build') != 'null' ]]; then | ||
DIST_DIR= | ||
if [[ -d client/dist ]]; then | ||
DIST_DIR=client/dist | ||
elif [[ -d dist ]]; then | ||
DIST_DIR=dist | ||
else | ||
echo "No dist directory found" | ||
exit 1 | ||
fi | ||
echo "Deleting $DIST_DIR" | ||
rm -rf $DIST_DIR | ||
echo "Running yarn build" | ||
yarn run build | ||
echo "Running git diff" | ||
# Add all files to ensure that any new files previously uncommitted are tracked | ||
git add $DIST_DIR | ||
GIT_DIFF=$(git diff --cached --name-status --relative=$DIST_DIR) | ||
if [[ $GIT_DIFF != "" ]]; then | ||
echo "git diff found modified files when it should not have:" | ||
echo $GIT_DIFF | ||
exit 1 | ||
fi | ||
fi | ||
if [[ $(cat package.json | jq -r '.scripts.test') != 'null' ]]; then | ||
echo "Running yarn test" | ||
yarn run test | ||
fi | ||
if [[ $(cat package.json | jq -r '.scripts.lint') != 'null' ]]; then | ||
echo "Running yarn lint" | ||
yarn run lint | ||
fi | ||
echo "Passed" | ||
- name: Copy artifacts | ||
run: cp client/dist/js/vendor.js artifacts | ||
|
||
- name: Upload artifacts | ||
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # @v2.3.1 | ||
if: always() | ||
with: | ||
name: my-artifacts | ||
path: artifacts |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file removed
BIN
-180 Bytes
thirdparty/jquery-ui-themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
Binary file not shown.
Binary file removed
BIN
-178 Bytes
thirdparty/jquery-ui-themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
Binary file not shown.
Binary file removed
BIN
-120 Bytes
thirdparty/jquery-ui-themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
Binary file not shown.
Binary file removed
BIN
-105 Bytes
thirdparty/jquery-ui-themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
Binary file not shown.
Binary file removed
BIN
-111 Bytes
thirdparty/jquery-ui-themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png
Binary file not shown.
Binary file removed
BIN
-110 Bytes
thirdparty/jquery-ui-themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
Binary file not shown.
Binary file removed
BIN
-119 Bytes
thirdparty/jquery-ui-themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
Binary file not shown.
Binary file removed
BIN
-101 Bytes
...rty/jquery-ui-themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Binary file not shown.
Binary file removed
BIN
-4.27 KB
thirdparty/jquery-ui-themes/smoothness/images/ui-icons_222222_256x240.png
Binary file not shown.
Binary file removed
BIN
-4.27 KB
thirdparty/jquery-ui-themes/smoothness/images/ui-icons_2e83ff_256x240.png
Binary file not shown.
Binary file added
BIN
+6.97 KB
thirdparty/jquery-ui-themes/smoothness/images/ui-icons_444444_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-4.27 KB
thirdparty/jquery-ui-themes/smoothness/images/ui-icons_454545_256x240.png
Binary file not shown.
Binary file added
BIN
+6.96 KB
thirdparty/jquery-ui-themes/smoothness/images/ui-icons_555555_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.56 KB
thirdparty/jquery-ui-themes/smoothness/images/ui-icons_777620_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7 KB
thirdparty/jquery-ui-themes/smoothness/images/ui-icons_777777_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-4.27 KB
thirdparty/jquery-ui-themes/smoothness/images/ui-icons_888888_256x240.png
Binary file not shown.
Binary file added
BIN
+4.56 KB
thirdparty/jquery-ui-themes/smoothness/images/ui-icons_cc0000_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-4.27 KB
thirdparty/jquery-ui-themes/smoothness/images/ui-icons_cd0a0a_256x240.png
Binary file not shown.
Binary file added
BIN
+6.39 KB
thirdparty/jquery-ui-themes/smoothness/images/ui-icons_ffffff_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.