Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
description: MS Teams webhook URI
runs:
using: node24
main: dist/main/index.js
main: dist/index.js
branding:
icon: truck
color: green
48 changes: 48 additions & 0 deletions dist/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/index.js.map

Large diffs are not rendered by default.

655 changes: 0 additions & 655 deletions dist/main/index.js

This file was deleted.

20 changes: 14 additions & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
// Jest 30 configuration. Uses ts-jest preset; jest-circus is the default
// test runner since Jest 27, so the explicit `testRunner` line was dropped.
// Stays CommonJS (`module.exports`) because package.json has no `"type": "module"`.

/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
export default {
clearMocks: true,
preset: 'ts-jest',
extensionsToTreatAsEsm: ['.ts'],
moduleFileExtensions: ['ts', 'js'],
preset: 'ts-jest',
resolver: 'ts-jest-resolver',
testEnvironment: 'node',
testMatch: ['**/__tests__/**/*.test.ts'],
testPathIgnorePatterns: ['/dist/', '/node_modules/'],
transform: {
'^.+\\.ts$': [
'ts-jest',
{
tsconfig: 'tsconfig.json',
useESM: true
}
]
},
verbose: true
}
Loading