@jahia/cypress 3.19.1 → 3.19.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ci.build.sh +2 -2
- package/env.Dockerfile +12 -12
- package/package.json +3 -3
package/ci.build.sh
CHANGED
|
@@ -39,6 +39,6 @@ if [ -d ./jahia-module ]; then
|
|
|
39
39
|
fi
|
|
40
40
|
cd ..
|
|
41
41
|
fi
|
|
42
|
-
YARN_VERSION=${YARN_VERSION:-1.22.22}
|
|
43
42
|
|
|
44
|
-
|
|
43
|
+
|
|
44
|
+
docker build -f $BASEDIR/env.Dockerfile -t ${TESTS_IMAGE} .
|
package/env.Dockerfile
CHANGED
|
@@ -2,25 +2,25 @@ FROM cypress/browsers:node-20.10.0-chrome-118.0.5993.88-1-ff-118.0.2-edge-118.0.
|
|
|
2
2
|
|
|
3
3
|
ARG MAVEN_VER="3.8.1"
|
|
4
4
|
ARG MAVEN_BASE_URL="https://archive.apache.org/dist/maven/maven-3"
|
|
5
|
-
ARG YARN_VERSION="1.22.22"
|
|
6
5
|
|
|
7
|
-
RUN apt-get update && apt-get install -y jq curl
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
npm install -g corepack ; \
|
|
11
|
-
corepack enable
|
|
6
|
+
RUN apt-get update && apt-get install -y jq curl
|
|
7
|
+
|
|
8
|
+
RUN adduser --disabled-password jahians
|
|
12
9
|
|
|
13
10
|
USER jahians
|
|
14
11
|
WORKDIR /home/jahians
|
|
15
12
|
|
|
16
|
-
COPY --chown=jahians:jahians . /home/jahians
|
|
13
|
+
COPY --chown=jahians:jahians package.json yarn.lock /home/jahians/
|
|
14
|
+
|
|
15
|
+
RUN mkdir -p /home/jahians/run-artifacts /home/jahians/results /home/jahians/cypress/plugins
|
|
17
16
|
|
|
18
17
|
#CI=true reduces the verbosity of the installation logs
|
|
19
|
-
RUN CI=true yarn
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
RUN CI=true yarn install --non-interactive
|
|
19
|
+
|
|
20
|
+
COPY --chown=jahians:jahians . /home/jahians
|
|
21
|
+
|
|
22
|
+
RUN CI=true /home/jahians/node_modules/.bin/cypress install
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
RUN mkdir -p .m2; cp maven.settings.xml .m2/settings.xml; exit 0
|
|
24
|
+
RUN mkdir -p .m2; cp maven.settings.xml .m2/settings.xml; exit 0
|
|
25
25
|
|
|
26
26
|
CMD /bin/bash -c /home/jahians/env.run.sh
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jahia/cypress",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "tsc",
|
|
6
6
|
"lint": "eslint src -c .eslintrc.json --ext .ts"
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"bin": {
|
|
9
9
|
"ci.build": "./ci.build.sh",
|
|
10
10
|
"ci.startup": "./ci.startup.sh",
|
|
11
|
-
"env.
|
|
12
|
-
"env.
|
|
11
|
+
"env.run": "./env.run.sh",
|
|
12
|
+
"env.debug": "./env.debug.sh"
|
|
13
13
|
},
|
|
14
14
|
"main": "dist/index.js",
|
|
15
15
|
"types": "dist/index.d.ts",
|