Skip to content

Commit

Permalink
Merge pull request #12 from worksome/JIRA-10657_node-20
Browse files Browse the repository at this point in the history
feat: JIRA-10657 Update to Node.js 20.x
  • Loading branch information
owenvoke authored Feb 6, 2024
2 parents 4ebba14 + b41e913 commit a91300c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Validate JIRA branch name and PR/commit consistency
uses: worksome/jira-branch-name-validator-action@v2.0.0
uses: worksome/jira-branch-name-validator-action@v2
with:
branch-name: ${{ github.event.pull_request.head.ref }}
pr-title: ${{ github.event.pull_request.title }}
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inputs:
description: The Jira project prefix.
default: 'JIRA'
runs:
using: 'node16'
using: 'node20'
main: 'dist/github/index.js'
branding:
icon: 'git-branch'
Expand Down
2 changes: 1 addition & 1 deletion dist/github/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ class OidcClient {
.catch(error => {
throw new Error(`Failed to get ID Token. \n
Error Code : ${error.statusCode}\n
Error Message: ${error.result.message}`);
Error Message: ${error.message}`);
});
const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;
if (!id_token) {
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@worksome/jira-branch-name-validator",
"version": "2.0.0",
"version": "2.1.0",
"description": "A GitHub action for ensuring that the branch name contains a valid JIRA id",
"main": "index.js",
"scripts": {
Expand All @@ -27,11 +27,11 @@
},
"homepage": "https://github.com/worksome/jira-branch-name-validator-action#readme",
"dependencies": {
"@actions/core": "^1.2.6"
"@actions/core": "^1.10.1"
},
"devDependencies": {
"@types/node": "^18.11.18",
"@vercel/ncc": "^0.36.0",
"typescript": "^4.9.4"
"@types/node": "^20.11.16",
"@vercel/ncc": "^0.38.1",
"typescript": "^5.3.3"
}
}

0 comments on commit a91300c

Please sign in to comment.