Exporting environment variables
Exporting CI
Exporting COVERALLS_BITLY_PHP_API_WRAPPER
Exporting COVERALLS_CURRICULUM_VITAE
Exporting COVERALLS_DOCKER_CLOUDFLARE_DDNS
Exporting COVERALLS_JWT_DECODER
Exporting COVERALLS_NPM_PKG_CONCATENATE
Exporting COVERALLS_NPM_PKG_DATE_CONVERT
Exporting COVERALLS_NPM_PKG_FEEDBACK
Exporting COVERALLS_NPM_PKG_LOADING
Exporting COVERALLS_NPM_PKG_MERGESTRINGS
Exporting COVERALLS_NPM_PKG_SHORTFIELD
Exporting COVERALLS_NPM_PKG_UNIQUE_KEYS
Exporting COVERALLS_NPM_PKG_VALIDATE
Exporting COVERALLS_NPM_PKG_YEAR_INTERVAL
Exporting COVERALLS_ONLINE_BANKING_BACKEND
Exporting COVERALLS_ONLINE_BANKING_FRONTEND
Exporting DISPLAY
Exporting DOCKER_TOKEN
Exporting DOCKER_USERNAME
Exporting GITLAB_TOKEN
Exporting HEROKU_API_KEY
Exporting NETLIFY_ACCESS_TOKEN
Exporting NETLIFY_BITBANK_SITE_ID
Exporting NETLIFY_CURRICULUM_VITAE_SITE_ID
Exporting NODE_VERSION
Exporting NPM_TOKEN
Exporting PAGER
Exporting SEMAPHORE
Exporting SEMAPHORE_AGENT_MACHINE_ENVIRONMENT_TYPE
Exporting SEMAPHORE_AGENT_MACHINE_OS_IMAGE
Exporting SEMAPHORE_AGENT_MACHINE_TYPE
Exporting SEMAPHORE_ARTIFACT_TOKEN
Exporting SEMAPHORE_CACHE_ARCHIVE_METHOD
Exporting SEMAPHORE_CACHE_BACKEND
Exporting SEMAPHORE_CACHE_PRIVATE_KEY_PATH
Exporting SEMAPHORE_CACHE_URL
Exporting SEMAPHORE_CACHE_USERNAME
Exporting SEMAPHORE_GIT_BRANCH
Exporting SEMAPHORE_GIT_COMMITTER
Exporting SEMAPHORE_GIT_COMMIT_AUTHOR
Exporting SEMAPHORE_GIT_COMMIT_RANGE
Exporting SEMAPHORE_GIT_DIR
Exporting SEMAPHORE_GIT_PROVIDER
Exporting SEMAPHORE_GIT_REF
Exporting SEMAPHORE_GIT_REF_TYPE
Exporting SEMAPHORE_GIT_REPO_NAME
Exporting SEMAPHORE_GIT_REPO_SLUG
Exporting SEMAPHORE_GIT_SHA
Exporting SEMAPHORE_GIT_URL
Exporting SEMAPHORE_GIT_WORKING_BRANCH
Exporting SEMAPHORE_JOB_CREATION_TIME
Exporting SEMAPHORE_JOB_ID
Exporting SEMAPHORE_JOB_NAME
Exporting SEMAPHORE_ORGANIZATION_URL
Exporting SEMAPHORE_PIPELINE_0_ARTEFACT_ID
Exporting SEMAPHORE_PIPELINE_ARTEFACT_ID
Exporting SEMAPHORE_PIPELINE_ID
Exporting SEMAPHORE_PIPELINE_PROMOTED_BY
Exporting SEMAPHORE_PIPELINE_PROMOTION
Exporting SEMAPHORE_PIPELINE_RERUN
Exporting SEMAPHORE_PROJECT_ID
Exporting SEMAPHORE_PROJECT_NAME
Exporting SEMAPHORE_TOOLBOX_METRICS_ENABLED
Exporting SEMAPHORE_WORKFLOW_HOOK_SOURCE
Exporting SEMAPHORE_WORKFLOW_ID
Exporting SEMAPHORE_WORKFLOW_NUMBER
Exporting SEMAPHORE_WORKFLOW_RERUN
Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY
Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_API
Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_HOOK
Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_MANUAL_RUN
Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_SCHEDULE
Exporting SONARSCANNER_VERSION
Exporting SONAR_TOKEN
Exporting SSH_PRIVATE_KEY_PATH
Exporting TERM
Exporting VERCEL_BITBANK_PROJECT_ID
Exporting VERCEL_CURRICULUM_VITAE_PROJECT_ID
Exporting VERCEL_ORG_ID
Exporting VERCEL_TOKEN
Injecting Files
Injecting /home/semaphore/.ssh/semaphore_cache_key with file mode 0600
Injecting /home/semaphore/.ssh/id_rsa with file mode 0600
Running the pre-job hook configured in the agent
Running: source /opt/semaphoreci/prejob/pre_job.sh
Warning: The agent is configured to fail the job if the pre-job hook fails.
mv: cannot stat '/etc/apt/sources.list.d/google-cloud-sdk.list': No such file or directory
Installing toolbox in pre-job-hook
Toolbox download URL: http://packages.semaphoreci.com/toolbox/releases/download/v1.21.7/linux.tar
Tar file: linux.tar
Attempt 5
toolbox/
toolbox/README.md
toolbox/spc
toolbox/sem-service-check-params
toolbox/retry
toolbox/sem-context
toolbox/sem-semantic-release
toolbox/libcheckout
toolbox/sem-dockerize
toolbox/enetwork
toolbox/when
toolbox/sem-service
toolbox/sem-install
toolbox/ssh-session-cli
toolbox/sem-version
toolbox/libchecksum
toolbox/Dockerfile.dev
toolbox/cache
toolbox/test-results
toolbox/install-package
toolbox/toolbox
toolbox/system-metrics-collector
toolbox/install-toolbox
toolbox/artifact
retry installed
ssh-session-cli installed
cache installed
sem-context installed
sem-service installed
sem-dockerize installed
sem-service-check-params installed
sem-semantic-release installed
Installing the artifacts CLI
artifacts installed
Installing the test results CLI
test-results installed
Installing the install-package for linux
install-package installed
Installing the SPC CLI
spc installed
Installing the when CLI
when installed
Installing the enetwork CLI
enetwork installed
Starting to collect System Metrics in /tmp/system-metrics
Starting virtual X frame buffer: Xvfb.
Toolbox installed
Starting ssh-agent
Agent pid 2270
ssh-agent started
Connecting to cache
# 46.4.218.107:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7
# 46.4.218.107:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7
# 46.4.218.107:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7
# 46.4.218.107:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7
# 46.4.218.107:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7
Identity added: /home/semaphore/.ssh/semaphore_cache_key (/home/semaphore/.ssh/semaphore_cache_key)
checkout
Performing shallow clone with depth: 50
Cloning into 'npm-pkg-mergestrings'...
Warning: Permanently added 'github.com,140.82.121.3' (ECDSA) to the list of known hosts.
remote: Enumerating objects: 45, done.
remote: Counting objects:   2% (1/45)
remote: Counting objects:   4% (2/45)
remote: Counting objects:   6% (3/45)
remote: Counting objects:   8% (4/45)
remote: Counting objects:  11% (5/45)
remote: Counting objects:  13% (6/45)
remote: Counting objects:  15% (7/45)
remote: Counting objects:  17% (8/45)
remote: Counting objects:  20% (9/45)
remote: Counting objects:  22% (10/45)
remote: Counting objects:  24% (11/45)
remote: Counting objects:  26% (12/45)
remote: Counting objects:  28% (13/45)
remote: Counting objects:  31% (14/45)
remote: Counting objects:  33% (15/45)
remote: Counting objects:  35% (16/45)
remote: Counting objects:  37% (17/45)
remote: Counting objects:  40% (18/45)
remote: Counting objects:  42% (19/45)
remote: Counting objects:  44% (20/45)
remote: Counting objects:  46% (21/45)
remote: Counting objects:  48% (22/45)
remote: Counting objects:  51% (23/45)
remote: Counting objects:  53% (24/45)
remote: Counting objects:  55% (25/45)
remote: Counting objects:  57% (26/45)
remote: Counting objects:  60% (27/45)
remote: Counting objects:  62% (28/45)
remote: Counting objects:  64% (29/45)
remote: Counting objects:  66% (30/45)
remote: Counting objects:  68% (31/45)
remote: Counting objects:  71% (32/45)
remote: Counting objects:  73% (33/45)
remote: Counting objects:  75% (34/45)
remote: Counting objects:  77% (35/45)
remote: Counting objects:  80% (36/45)
remote: Counting objects:  82% (37/45)
remote: Counting objects:  84% (38/45)
remote: Counting objects:  86% (39/45)
remote: Counting objects:  88% (40/45)
remote: Counting objects:  91% (41/45)
remote: Counting objects:  93% (42/45)
remote: Counting objects:  95% (43/45)
remote: Counting objects:  97% (44/45)
remote: Counting objects: 100% (45/45)
remote: Counting objects: 100% (45/45), done.
remote: Compressing objects:   3% (1/30)
remote: Compressing objects:   6% (2/30)
remote: Compressing objects:  10% (3/30)
remote: Compressing objects:  13% (4/30)
remote: Compressing objects:  16% (5/30)
remote: Compressing objects:  20% (6/30)
remote: Compressing objects:  23% (7/30)
remote: Compressing objects:  26% (8/30)
remote: Compressing objects:  30% (9/30)
remote: Compressing objects:  33% (10/30)
remote: Compressing objects:  36% (11/30)
remote: Compressing objects:  40% (12/30)
remote: Compressing objects:  43% (13/30)
remote: Compressing objects:  46% (14/30)
remote: Compressing objects:  50% (15/30)
remote: Compressing objects:  53% (16/30)
remote: Compressing objects:  56% (17/30)
remote: Compressing objects:  60% (18/30)
remote: Compressing objects:  63% (19/30)
remote: Compressing objects:  66% (20/30)
remote: Compressing objects:  70% (21/30)
remote: Compressing objects:  73% (22/30)
remote: Compressing objects:  76% (23/30)
remote: Compressing objects:  80% (24/30)
remote: Compressing objects:  83% (25/30)
remote: Compressing objects:  86% (26/30)
remote: Compressing objects:  90% (27/30)
remote: Compressing objects:  93% (28/30)
remote: Compressing objects:  96% (29/30)
remote: Compressing objects: 100% (30/30)
remote: Compressing objects: 100% (30/30), done.
Receiving objects:   2% (1/45)
Receiving objects:   4% (2/45)
Receiving objects:   6% (3/45)
Receiving objects:   8% (4/45)
Receiving objects:  11% (5/45)
Receiving objects:  13% (6/45)
Receiving objects:  15% (7/45)
Receiving objects:  17% (8/45)
Receiving objects:  20% (9/45)
Receiving objects:  22% (10/45)
Receiving objects:  24% (11/45)
Receiving objects:  26% (12/45)
Receiving objects:  28% (13/45)
Receiving objects:  31% (14/45)
Receiving objects:  33% (15/45)
Receiving objects:  35% (16/45)
Receiving objects:  37% (17/45)
Receiving objects:  40% (18/45)
Receiving objects:  42% (19/45)
Receiving objects:  44% (20/45)
Receiving objects:  46% (21/45)
Receiving objects:  48% (22/45)
Receiving objects:  51% (23/45)
Receiving objects:  53% (24/45)
Receiving objects:  55% (25/45)
Receiving objects:  57% (26/45)
Receiving objects:  60% (27/45)
Receiving objects:  62% (28/45)
remote: Total 45 (delta 7), reused 42 (delta 6), pack-reused 0
Receiving objects:  64% (29/45)
Receiving objects:  66% (30/45)
Receiving objects:  68% (31/45)
Receiving objects:  71% (32/45)
Receiving objects:  73% (33/45)
Receiving objects:  75% (34/45)
Receiving objects:  77% (35/45)
Receiving objects:  80% (36/45)
Receiving objects:  82% (37/45)
Receiving objects:  84% (38/45)
Receiving objects:  86% (39/45)
Receiving objects:  88% (40/45)
Receiving objects:  91% (41/45)
Receiving objects:  93% (42/45)
Receiving objects:  95% (43/45)
Receiving objects:  97% (44/45)
Receiving objects: 100% (45/45)
Receiving objects: 100% (45/45), 90.25 KiB | 183.00 KiB/s, done.
Resolving deltas:   0% (0/7)
Resolving deltas:  14% (1/7)
Resolving deltas:  28% (2/7)
Resolving deltas:  42% (3/7)
Resolving deltas:  57% (4/7)
Resolving deltas:  71% (5/7)
Resolving deltas:  85% (6/7)
Resolving deltas: 100% (7/7)
Resolving deltas: 100% (7/7), done.
HEAD is now at 6fb8bb1 Merge pull request #3 from sineverba/upgrade-dependencies
cache restore
Detected .nvmrc.
Fetching '/home/semaphore/.nvm' directory with cache keys 'nvm-develop-d7e57782eb49baaf8d911832ecb4f0e2,nvm-develop,nvm-master,nvm-main'...
HIT: 'nvm-develop-d7e57782eb49baaf8d911832ecb4f0e2', using key 'nvm-develop-d7e57782eb49baaf8d911832ecb4f0e2'.
Downloading key 'nvm-develop-d7e57782eb49baaf8d911832ecb4f0e2'...
Download complete. Duration: 771.254607ms. Size: 77.6M bytes.
Unpacking '/tmp/nvm-develop-d7e57782eb49baaf8d911832ecb4f0e2-3318656098'...
Unpack complete. Duration: 1.590499123s.
Restored: /home/semaphore/.nvm/.
Detected package-lock.json.
Fetching 'node_modules' directory with cache keys 'node-modules-develop-64dfc5ea5100fe319de95e1e80ca0e47,node-modules-develop,node-modules-master,node-modules-main'...
HIT: 'node-modules-develop-64dfc5ea5100fe319de95e1e80ca0e47', using key 'node-modules-develop-64dfc5ea5100fe319de95e1e80ca0e47'.
Downloading key 'node-modules-develop-64dfc5ea5100fe319de95e1e80ca0e47'...
Download complete. Duration: 247.668331ms. Size: 25.4M bytes.
Unpacking '/tmp/node-modules-develop-64dfc5ea5100fe319de95e1e80ca0e47-1482203831'...
Unpack complete. Duration: 894.019779ms.
Restored: node_modules/.
sem-version node $NODE_VERSION

[10:37 29/01/2024]: Changing 'node' to version 18
Downloading and installing node v18.19.0...
Downloading http://nodejs.semaphoreci.com/dist/v18.19.0/node-v18.19.0-linux-x64.tar.xz...

###############################                                           43.2%
#################################################################         90.3%
######################################################################## 100.0%
Computing checksum with sha256sum
Provided checksum to compare to is empty.
Now using node v18.19.0 (npm v10.2.3)
Now using node v18.19.0 (npm v10.2.3)

added 59 packages in 2s

5 packages are looking for funding
  run `npm fund` for details

[10:37 29/01/2024]: Switch successful.
npm run test

> mergestrings@1.0.0 test
> jest

PASS src/__tests__/mergeStrings.test.ts
  Test mergeStrings
    ✓ Should return merged strings from two starting strings (2 ms)
    ✓ Should return merged strings from four starting strings (1 ms)
    ✓ Should return merged strings from four starting strings and some empty

Test Suites: 1 passed, 1 total
Tests:       3 passed, 3 total
Snapshots:   0 total
Time:        1.832 s
Ran all test suites.
Exporting environment variables
Exporting SEMAPHORE_JOB_RESULT