My goal is to set up a pipeline in GitLab for running WebdriverIO TypeScript and Cucumber framework tests. I am encountering an issue when trying to execute wdio.conf.ts in the pipeline, resulting in this error: GitLab pipeline error Below is a snippet of ...
Currently, I am utilizing the self-managed version 14.6 of GitLab. In my .gitlab-ci.yaml pipeline file, I have defined two jobs: build and deploy. The build job runs on a docker executor through gitlab-runner and generates an artifact named build/, which c ...
After setting up a gitlab runner on my Windows machine, I input the command "npm config set registry http://my/custom/npm/registry" in the terminal. Then, I triggered a pipeline on the gitlab web page. However, when I checked the terminal using the comman ...
I am currently in the process of developing a Node.js application to serve a private GitLab server. Initially, I had it set up with Apache, but now I am looking to switch over to using my Node.js application instead. Most of the functionality is there. Th ...
Currently, I am in the process of deploying an application from a GitLab repository to a server running Ubuntu 20.04. The GitLab runner is registered and operational, with all SSH keys added accordingly. Although I have created the .gitlab-ci.yml file, I e ...
Hey there, I've been attempting to deploy to Digital Ocean using a Gitlab CI/CD pipeline. However, every time I run the pipeline, I encounter the following error message: "chmod: /root/.ssh/id_rsa: No such file or directory $ chmod og= ~/.ssh/id_rsa C ...
Currently, I am using Windows Powershell and a pipeline to create the package for an application deployment. Here is the pipeline setup: https://i.stack.imgur.com/am2iR.png My current obstacle revolves around the "npm install" command, as I want to avoid ...
I am currently working on a project in a monorepo using pnpm workspaces and turborepo to handle the scripts within the monorepo. Initially, all individual projects were functioning correctly as they are nextjs projects. However, when I upgraded turborepo ...
my .npmrc @bytap:registry=https://gitlab.com/api/v4/packages/npm/ '//gitlab.com/api/v4/packages/npm/:_authToken'="${GITLAB_AUTH_TOKEN}" '//gitlab.com/api/v4/projects/37004905/packages/npm/:_authToken'="${GITLAB_AUTH_TOKEN}" the conten ...
I've added node_modules to .gitignore but now I need to update a module (Searchbar from reactnativeelements). What's the best and cleanest way to push this change to my GitLab repository? Creating a separate folder for the complete module and updating al ...
I am attempting to incorporate a private GitLab repository as an npm dependency in my node.js application using a private token key. My configuration looks something like this: "dependencies": { "my-module": "git+https://<privateToken>:x-oauth- ...
I am facing an issue with my package.json file as it has a dependency from our internal gitlab server. When I try to clone it using 'git clone https://...' git prompts me for a username and password. After providing the credentials, the package clones suc ...
Let me get straight to the point: ** background ** A few months ago, I started a project for a non-profit organization with some friends. Due to our non-charging nature, a couple of friends had to leave the project as they were swamped with their actual ...
Hello there! I encountered a peculiar issue after reinstalling everything on my laptop. Now, I'm facing trouble every time I try to push to Heroku using this package.json configuration. { "name": "mrfrederiksen", "version": "0.0.0", "license": "MI ...
I have run into an issue while attempting to publish a basic example to our gitlab npm registry. Despite updating all necessary information such as names, projectId, and token, I keep encountering the following error: npm ERR! 422 Unprocessable Entity - ...
Currently working on an Angular library project, I am exploring the possibility of publishing the entire library alongside a pre-built angular application either on gitlab or npm. However, my concern lies in ensuring that when a user installs the library v ...
While attempting to commit changes to my dev branch in Gitlab, I encountered errors related to ESLint which caused the commit to be aborted. To troubleshoot, I cloned the repository from the dev branch, made changes, and installed dependencies using &apos ...
My attempts to publish a test for an npm package have been unsuccessful. I've named the package in my package.json file as "@username/package_name" and set up the publishConfig object like this: "publishConfig": { "@username:registry&quo ...
I am currently working on a project that has its own private project library accessible directly to me at . In the package.json file, it is required like this: "dependencies": { "@some-project/some-utils": "0.1.42", ...
Many users online are discussing issues with Gitlab caching, but in my experience, Gitlab CI actually caches correctly. However, npm seems to reinstall everything regardless. cache: key: ${CI_COMMIT_REF_SLUG} paths: - vendor/ - bootstrap/ ...
Initially, my query differs from Install npm module from gitlab private repository We manage our own npm modules, each residing in its own sub-folder within a collective repository named my_node_modules.git. Is there a way to install a single npm module f ...
I'm currently in the process of automating the markdown spell check for all documents on my website, which are spread across multiple git repositories. I have a .spelling file that includes all the words to be excluded from the documents. My goal is t ...
I have set up a GitLab Runner using Shell and my gitlab-ci.yml file includes the following configuration. In the before_script section, it installs necessary packages and starts the node server using "start npm run start" to prevent it from getting stuck a ...
I currently have a .gitlab-ci.yml file set up to build my Vue application. The process involves building once and then deploying the dist folder to different environments: stages: - build - deploy_dev - deploy_stg - deploy_prd build: image: no ...
I am facing a challenge with my Angular project that I want to deploy on Gitlab Pages. Initially, when I execute: ng build --prod locally, the build is successful. Below is my .gitlab-ci.yaml: image: node:8.12.0 pages: cache: paths: - node_mo ...
When I attempt to update the package version upon making a merge on Gitlab, I encountered issues despite using Husky for this purpose. { "hooks":{ "pre-commit": "npm run lint:fix", "post-merge": " ...
Utilizing a self-hosted Renovate Bot instance within an air-gapped GitLab environment to manage NodeJS module updates has presented some challenges for me. Despite thoroughly reviewing the documentation, I'm unclear on how to configure the bot to prevent d ...
Challenges with Setting Up Cypress in Gitlab CI We have been facing difficulties setting up Cypress in the CI runners of gitlab.com using the default blueprint from vue-cli to scaffold the project. Despite trying various configurations in the gitlab.yml f ...
When attempting to publish a module on my private Verdaccio repository from Gitlab CI running in Docker, I encountered an issue. Following this tutorial, I generated the token on my host since the container in which the jobs run does not exist until the pi ...
I have a private GitLab repository where I store a NodeJs module with files like package.json and index.js. In another project, I want to include this repository as a dependency using the following syntax: "package-name": "git+ssh://git@gitlab01:path/to/r ...