gitlab-ci-env
Advanced tools
Comparing version 6.2.2 to 6.3.0
@@ -90,2 +90,3 @@ export namespace chat { | ||
export { name_4 as name }; | ||
export const nameSlug: string; | ||
export const stage: string; | ||
@@ -92,0 +93,0 @@ export const startedAt: string; |
@@ -8,5 +8,5 @@ 'use strict'; | ||
* @module gitlab-ci-env | ||
* @returns {object} Object containing all of the predefined environment | ||
* variables provided by GitLab CI. | ||
* @static | ||
* @returns {object} Object containing all of the predefined environment | ||
* variables provided by GitLab CI. | ||
*/ | ||
@@ -97,2 +97,3 @@ module.exports = { | ||
name: process.env.CI_JOB_NAME, | ||
nameSlug: process.env.CI_JOB_NAME_SLUG, | ||
stage: process.env.CI_JOB_STAGE, | ||
@@ -99,0 +100,0 @@ startedAt: process.env.CI_JOB_STARTED_AT, |
{ | ||
"name": "gitlab-ci-env", | ||
"version": "6.2.2", | ||
"version": "6.3.0", | ||
"description": "Get built-in environment variables exposed by GitLab CI.", | ||
@@ -46,8 +46,8 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@aarongoldenthal/eslint-config-standard": "^16.0.1", | ||
"@aarongoldenthal/eslint-config-standard": "^17.0.1", | ||
"axios": "^0.27.2", | ||
"dotenv": "^16.0.1", | ||
"eslint": "^8.23.0", | ||
"dotenv": "^16.0.2", | ||
"eslint": "^8.24.0", | ||
"flat": "^5.0.2", | ||
"jest": "^29.0.1", | ||
"jest": "^29.1.1", | ||
"jest-junit": "^14.0.1", | ||
@@ -57,4 +57,4 @@ "markdownlint-cli": "^0.32.2", | ||
"tabletojson": "^2.0.7", | ||
"typescript": "^4.8.2" | ||
"typescript": "^4.8.4" | ||
} | ||
} |
@@ -99,2 +99,3 @@ # GitLab CI Env | ||
name: 'CI_JOB_NAME', | ||
nameSlug: 'CI_JOB_NAME_SLUG', | ||
stage: 'CI_JOB_STAGE', | ||
@@ -101,0 +102,0 @@ startedAt: 'CI_JOB_STARTED_AT', |
28265
488
230