Skip to content

Commit

Permalink
Bump github-badge-action to 1.0.0 and adapt its require
Browse files Browse the repository at this point in the history
  • Loading branch information
emibcn committed Jun 19, 2021
1 parent c70e3b9 commit 0b079e4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const createBadgeFromInputs = require('github-badge-action');
const { createBadgeFromInputs } = require('github-badge-action');

createBadgeFromInputs();
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "badge-action",
"version": "1.2.1",
"version": "1.2.2",
"description": "Create a badge using GitHub Actions and GitHub Workflow CPU time (no 3rd parties servers)",
"main": "index.js",
"repository": "https://github.com/emibcn/badge-action",
Expand All @@ -12,7 +12,7 @@
"deploy": "yarn build && yarn pack"
},
"dependencies": {
"github-badge-action": "^0.0.6"
"github-badge-action": "^1.0.0"
},
"devDependencies": {
"@zeit/ncc": "^0.22.3"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ badgen@^3.2.1:
resolved "https://registry.yarnpkg.com/badgen/-/badgen-3.2.1.tgz#71d09113a091796e74540d0ca8ebc45f89e0f55a"
integrity sha512-XibyDQHM/7l809dJBp1GEvPmHY3BLgO164f6DuHyLP0OTHDm9EAmHjN7hEyiGQATEpn4G3EVGH8x+M4UFfhkHw==

github-badge-action@^0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/github-badge-action/-/github-badge-action-0.0.6.tgz#e2567a6001b3b71350488673c30011c889292d35"
integrity sha512-BltZkt9ghHzNiKkMCfUB3BRzDL2P9IaR2zSBEaRNjMd7MzPGQLFYIc06L8gpFK0dwTT3cwzcnOeEun+A6HpHnQ==
github-badge-action@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/github-badge-action/-/github-badge-action-1.0.0.tgz#5d531aba28bd60a025025b8a600ee1583f16142a"
integrity sha512-KQrDbQU4XWohyYd2gh7nzwgb1zv/a2zjtESk/pNxFftZNKsyR+P+rVdfzi3J58QZDgOPP//gtYWdY1rBX37MfQ==
dependencies:
"@actions/core" "^1.3.0"
gradient-badge "^1.3.1"
Expand Down

0 comments on commit 0b079e4

Please sign in to comment.