From 6780983a033f0af64e333ae5921596eebff908ab Mon Sep 17 00:00:00 2001 From: emibcn Date: Fri, 9 Dec 2022 14:57:07 +0100 Subject: [PATCH] Use badge-action 2.0.0 (#24) * Use badge-action 2.0.0 * Fix JS run name * Format code with standardjs and prettier * Use badge-action 2.0.1 Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- action.yml | 2 +- package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b9c7a94..d3d916d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,7 +42,7 @@ jobs: # Use the output from the `coverage` step - name: Generate the badge SVG image - uses: emibcn/badge-action@v1.2.4 + uses: emibcn/badge-action@v2.0.1 id: badge with: label: 'Test coverage' diff --git a/action.yml b/action.yml index fc1afcc..22069c3 100644 --- a/action.yml +++ b/action.yml @@ -43,4 +43,4 @@ outputs: description: 'The badge SVG contents' runs: using: 'node16' - main: 'dist/badge-action.modern.mjs' + main: 'dist/badge-action.modern.js' diff --git a/package.json b/package.json index 0e60124..974be25 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "badge-action", - "version": "2.0.0", + "version": "2.0.1", "description": "Create a badge using GitHub Actions and GitHub Workflow CPU time (no 3rd parties servers)", "source": "index.js", - "main": "dist/badge-action.modern.mjs", + "main": "dist/badge-action.modern.js", "repository": "https://github.com/emibcn/badge-action", "author": "github.com/emibcn", "license": "GPL-3.0-or-later",