Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Monster
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Libraries
Javascript
Monster
Commits
2eacf8e9
Verified
Commit
2eacf8e9
authored
1 year ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
fix: wip new pipeline
parent
4762a861
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
flake.nix
+5
-24
5 additions, 24 deletions
flake.nix
source/components/form/form.mjs
+1
-1
1 addition, 1 deletion
source/components/form/form.mjs
test/util/jsdom.mjs
+1
-6
1 addition, 6 deletions
test/util/jsdom.mjs
with
7 additions
and
31 deletions
flake.nix
+
5
−
24
View file @
2eacf8e9
...
...
@@ -116,30 +116,11 @@
nativeBuildInputs
=
gitlabPackages
;
shellHook
=
''
if [ -z "
''$
{CI_JOB_TOKEN}" ]; then
exit 1
fi
cd
''$
{CI_PROJECT_DIR} || exit 1
#
${
pkgs
'
.
git
}
/bin/git config --global user.email "
''$
{GITLAB_USER_EMAIL}"
#
${
pkgs
'
.
git
}
/bin/git config --global user.name "
''$
{GITLAB_USER_NAME}"
#
${
pkgs
'
.
git
}
/bin/git config --global credential.helper '!f() { echo "username=gitlab-ci-token"; echo "password=
''$
{CI_JOB_TOKEN}"; }; f'
#
${
pkgs
'
.
git
}
/bin/git config --global pull.rebase true
#
${
pkgs
'
.
git
}
/bin/git config --global http.sslVerify "false"
#
#
${
pkgs
'
.
git
}
/bin/git remote set-url origin "
''$
{CI_REPOSITORY_URL}"
#
#
${
pkgs
'
.
git
}
/bin/git fetch --all --tags --unshallow
#
${
pkgs
'
.
git
}
/bin/git reset --hard origin/master
#
${
pkgs
'
.
git
}
/bin/git clean -fd
#
${
pkgs
'
.
git
}
/bin/git checkout $CI_COMMIT_REF_NAME
#
${
pkgs
'
.
git
}
/bin/git pull origin $CI_COMMIT_REF_NAME
if [ -z "
''$
{CI_JO B_TOKEN}" ]; then
exit 1
fi
cd
''$
{CI_PROJECT_DIR} || exit 1
''
;
};
};
...
...
This diff is collapsed.
Click to expand it.
source/components/form/form.mjs
+
1
−
1
View file @
2eacf8e9
...
...
@@ -585,7 +585,7 @@ function getTemplate() {
// language=HTML
return
`
<div data-monster-role="control" part="control">
<form data-monster-attributes="disabled path:disabled |
if:true, class path:classes.form"
<form data-monster-attributes="disabled path:disabled | if:true, class path:classes.form"
data-monster-role="form"
part="form">
<slot data-monster-role="slot"></slot>
...
...
This diff is collapsed.
Click to expand it.
test/util/jsdom.mjs
+
1
−
6
View file @
2eacf8e9
...
...
@@ -29,12 +29,7 @@ function initJSDOM(options) {
return
import
(
"
jsdom
"
).
then
(({
JSDOM
})
=>
{
JSDOMExport
=
JSDOM
;
const
{
window
}
=
new
JSDOM
(
`<html>
<head>
</head>
<body>
<div id="mocks"></div>
</body>`
,
options
);
const
{
window
}
=
new
JSDOM
(
`<!DOCTYPE html><html lang="en"><head><title>Test</title></head><body><div id="mocks"></div></body></html>`
,
options
);
g
[
'
window
'
]
=
window
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment