From c43f49a02350593994599fa01a0f394ee56b8935 Mon Sep 17 00:00:00 2001 From: agracio Date: Wed, 4 Dec 2024 18:36:01 +0000 Subject: [PATCH] adding dependabot --- .github/dependabot.yml | 10 ++++++++++ .github/workflows/main.yml | 4 ++-- .gitignore | 2 ++ .npmignore | 1 + jest.config.js | 21 +++++++++++---------- package-lock.json | 4 ++-- package.json | 4 ++-- 7 files changed, 30 insertions(+), 16 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..5dd981d --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "daily" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0847e96..28d6c25 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,9 +12,9 @@ on: - 'LICENSE*' - '.idea/**' - '.vscode/**' - - '.circleci' - - '.circleci/*' - 'README.md' + - '.github/dependabot.yml' + - '.github/FUNDING.yml' jobs: test: diff --git a/.gitignore b/.gitignore index f5cfcf6..2c5652f 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ out/ report/ report1/ tests/data/tmp/ +jest.json + diff --git a/.npmignore b/.npmignore index 4de69db..7b892e4 100644 --- a/.npmignore +++ b/.npmignore @@ -13,3 +13,4 @@ report1/ tests/ index.js jest.config.js +jest.json diff --git a/jest.config.js b/jest.config.js index c58af32..fc54488 100644 --- a/jest.config.js +++ b/jest.config.js @@ -3,15 +3,16 @@ module.exports = { globalTeardown: "./tests/teardown.js", reporters: [ 'default', - 'github-actions', - ["jest-html-reporters", { - publicPath: './tests/report', - filename: 'report.html', - darkTheme: true, - pageTitle: 'mochawesome-converter', - expand: true, - urlForTestFiles: 'https://github.com/agracio/mochawesome-converter/blob/main' - } - ] + ['github-actions', {silent: false}], + 'summary', + // ["jest-html-reporters", { + // publicPath: './tests/report', + // filename: 'report.html', + // darkTheme: true, + // pageTitle: 'mochawesome-converter', + // expand: true, + // urlForTestFiles: 'https://github.com/agracio/mochawesome-converter/blob/main' + // } + // ] ], } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 7d2c430..46f6d37 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mochawesome-converter", - "version": "1.0.2", + "version": "1.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mochawesome-converter", - "version": "1.0.2", + "version": "1.0.3", "license": "MIT", "dependencies": { "lodash": "^4.17.21", diff --git a/package.json b/package.json index a3d9299..cd27f1c 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "mochawesome-converter", - "version": "1.0.2", + "version": "1.0.3", "description": "Test report files to Mochawesome and JUnit converter", "main": "src/converter.js", "types": "index.d.ts", "scripts": { - "test": "jest" + "test": "jest --json --outputFile=jest.json" }, "author": "agracio", "license": "MIT",