
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
@techmynder/gitlab-ci-file-lint
Advanced tools
Validate a GitLab pipeline YAML file using the official API.
A small library to help validate GitLab pipeline files using the official API.
Create a .env
file (or .env.local
which will have precedence) with the following values:
Name | Description | Required |
---|---|---|
GITLAB_LINT_TOKEN | The GitLab access token (api scope) | Yes |
GITLAB_LINT_PROJECT_ID | The GitLab project ID to validate against | Yes |
GITLAB_LINT_FILE | The name of the file to validate | No (default: .gitlab-ci.yml ) |
GITLAB_LINT_BASE_URL | The base URL for the API request | No (default: https://gitlab.com ) |
Using the minimal configuration in .env
GITLAB_LINT_TOKEN=secret
GITLAB_LINT_PROJECT_ID=1337
will validate the root .gitlab-ci.yml
file.
The results of the linter will be printed to the console with a matching exit code:
0
.0
.1
.FAQs
Validate a GitLab pipeline YAML file using the official API.
The npm package @techmynder/gitlab-ci-file-lint receives a total of 162 weekly downloads. As such, @techmynder/gitlab-ci-file-lint popularity was classified as not popular.
We found that @techmynder/gitlab-ci-file-lint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.