@amanat-qa/utils-backend 5.2.0 → 5.2.2

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.
@@ -22,7 +22,7 @@ var testsDirectory = fs.existsSync(suitesDirectory) ? suitesDirectory : specsDir
22
22
  var testFiles = fs.readdirSync(testsDirectory);
23
23
  var jobs = testFiles.map(function (spec, index) {
24
24
  return _defineProperty({}, "API tests ".concat(index + 1), {
25
- image: 'node:latest',
25
+ image: "node:".concat(process.version.replace(/^v+/, '')),
26
26
  stage: 'test',
27
27
  variables: {
28
28
  SPEC_PATTERN: index + 1
@@ -31,7 +31,7 @@ var jobs = testFiles.map(function (spec, index) {
31
31
  tags: ['k8s'],
32
32
  before_script: [
33
33
  // eslint-disable-next-line no-template-curly-in-string
34
- 'echo "${ENV_TEST}" | tr -d "\r" > ./.env.test', 'apt-get update && apt-get install -y default-jre', 'npm install'],
34
+ 'echo "${ENV_TEST}" | tr -d "\r" > ./.env.test', 'apt-get update && apt-get install -y default-jre', 'npm install', 'npm install @amanat-qa/utils-backend@latest --no-save'],
35
35
  script: ['npm run lint', 'npm run test:split'],
36
36
  artifacts: {
37
37
  when: 'always',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amanat-qa/utils-backend",
3
- "version": "5.2.0",
3
+ "version": "5.2.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },