Compare commits

..

1 Commits

Author SHA1 Message Date
renovate-bot 1989c732dc chore(deps): update dependency conventional-commits-parser to v6
renovate/stability-days Updates have met minimum release age requirement
CI / Test (pull_request) Failing after 17s
CI / Check Dist (pull_request) Successful in 12s
CI / Dry-Run (pull_request) Failing after 13s
CI / Dry-Run Prerelease (pull_request) Failing after 43s
2026-05-31 10:03:23 +00:00
6 changed files with 56 additions and 55 deletions
+36 -29
View File
File diff suppressed because one or more lines are too long
-3
View File
@@ -3,9 +3,6 @@ module.exports = {
testEnvironment: "node",
roots: ["<rootDir>/src"],
testMatch: ["**/*.spec.ts"],
moduleNameMapper: {
"^@actions/core$": "<rootDir>/src/__mocks__/actions-core.ts",
},
transform: {
"^.+\\.ts$": "ts-jest",
},
+16 -16
View File
@@ -7,7 +7,7 @@
"name": "conventional-semantic-git-tag-increment",
"license": "MIT",
"dependencies": {
"@actions/core": "3.0.1",
"@actions/core": "2.0.3",
"conventional-commits-parser": "6.4.0"
},
"devDependencies": {
@@ -22,28 +22,28 @@
}
},
"node_modules/@actions/core": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/@actions/core/-/core-3.0.1.tgz",
"integrity": "sha512-a6d/Nwahm9fliVGRhdhofo40HjHQasUPusmc7vBfyky+7Z+P2A1J68zyFVaNcEclc/Se+eO595oAr5nwEIoIUA==",
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/@actions/core/-/core-2.0.3.tgz",
"integrity": "sha512-Od9Thc3T1mQJYddvVPM4QGiLUewdh+3txmDYHHxoNdkqysR1MbCT+rFOtNUxYAz+7+6RIsqipVahY2GJqGPyxA==",
"license": "MIT",
"dependencies": {
"@actions/exec": "^3.0.0",
"@actions/http-client": "^4.0.0"
"@actions/exec": "^2.0.0",
"@actions/http-client": "^3.0.2"
}
},
"node_modules/@actions/exec": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/@actions/exec/-/exec-3.0.0.tgz",
"integrity": "sha512-6xH/puSoNBXb72VPlZVm7vQ+svQpFyA96qdDBvhB8eNZOE8LtPf9L4oAsfzK/crCL8YZ+19fKYVnM63Sl+Xzlw==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@actions/exec/-/exec-2.0.0.tgz",
"integrity": "sha512-k8ngrX2voJ/RIN6r9xB82NVqKpnMRtxDoiO+g3olkIUpQNqjArXrCQceduQZCQj3P3xm32pChRLqRrtXTlqhIw==",
"license": "MIT",
"dependencies": {
"@actions/io": "^3.0.2"
"@actions/io": "^2.0.0"
}
},
"node_modules/@actions/http-client": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-4.0.1.tgz",
"integrity": "sha512-+Nvd1ImaOZBSoPbsUtEhv+1z99H12xzncCkz0a3RuehINE81FZSe2QTj3uvAPTcJX/SCzUQHQ0D1GrPMbrPitg==",
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-3.0.2.tgz",
"integrity": "sha512-JP38FYYpyqvUsz+Igqlc/JG6YO9PaKuvqjM3iGvaLqFnJ7TFmcLyy2IDrY0bI0qCQug8E9K+elv5ZNfw62ZJzA==",
"license": "MIT",
"dependencies": {
"tunnel": "^0.0.6",
@@ -51,9 +51,9 @@
}
},
"node_modules/@actions/io": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/@actions/io/-/io-3.0.2.tgz",
"integrity": "sha512-nRBchcMM+QK1pdjO7/idu86rbJI5YHUKCvKs0KxnSYbVe3F51UfGxuZX4Qy/fWlp6l7gWFwIkrOzN+oUK03kfw==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@actions/io/-/io-2.0.0.tgz",
"integrity": "sha512-Jv33IN09XLO+0HS79aaODsvIRyduiF7NY/F6LYeK5oeUmrsz7aFdRphQjFoESF4jS7lMauDOttKALcpapVDIAg==",
"license": "MIT"
},
"node_modules/@ampproject/remapping": {
+1 -1
View File
@@ -21,7 +21,7 @@
"typescript": "5.9.3"
},
"dependencies": {
"@actions/core": "3.0.1",
"@actions/core": "2.0.3",
"conventional-commits-parser": "6.4.0"
}
}
-5
View File
@@ -1,5 +0,0 @@
export const getInput = jest.fn(() => "");
export const info = jest.fn();
export const warning = jest.fn();
export const setOutput = jest.fn();
export const setFailed = jest.fn();
+3 -1
View File
@@ -439,7 +439,9 @@ describe("LocalCoreService", () => {
localCoreService = new LocalCoreService();
});
// @actions/core is mocked via jest.config.js moduleNameMapper
// Note: These tests would require mocking the @actions/core module
// In a real implementation, you might want to use jest.mock() to mock the entire module
// For now, we'll just test that the methods exist and can be called
it("should have all required methods", () => {
expect(typeof localCoreService.getInput).toBe("function");