Skip to content

Commit

Permalink
Merge pull request #766 from shogo82148/bump-node-20
Browse files Browse the repository at this point in the history
bump Node.js v20
  • Loading branch information
shogo82148 authored Sep 6, 2023
2 parents 8301365 + c9697e7 commit 0e34386
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 34 deletions.
7 changes: 5 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ updates:
interval: "daily"
open-pull-requests-limit: 10
ignore:
# update too often, ignore patch releases
- dependency-name: "@types/node"
update-types: ["version-update:semver-patch"]
update-types:
# major version must sync with nodejs version
- "version-update:semver-major"
# update too often, ignore patch releases
- "version-update:semver-patch"

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: "16.x"
node-version-file: .node-version
cache: 'npm'
- run: npm ci
- uses: reviewdog/action-eslint@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "16.x"
node-version-file: .node-version
cache: 'npm'
- run: npm ci
- run: npm run build
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "16.x"
node-version-file: .node-version
cache: 'npm'
- run: npm ci
- run: npm run build
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.6.0
28 changes: 14 additions & 14 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: 'Yet Another Upload Release Asset Action'
description: 'Yet Another Upload Release Asset Action'
author: 'Ichinose Shogo'
name: "Yet Another Upload Release Asset Action"
description: "Yet Another Upload Release Asset Action"
author: "Ichinose Shogo"
inputs:
github_token:
description: 'The API token for GitHub'
description: "The API token for GitHub"
required: true
default: "${{ github.token }}"
upload_url:
description: 'The URL for uploading assets to the release'
description: "The URL for uploading assets to the release"
required: true
asset_path:
description: 'The path to the asset you want to upload'
description: "The path to the asset you want to upload"
required: true
asset_name:
description: 'The name of the asset you want to upload'
description: "The name of the asset you want to upload"
required: false
asset_content_type:
description: 'The content-type of the asset you want to upload. See the supported Media Types here: https://www.iana.org/assignments/media-types/media-types.xhtml for more information'
description: "The content-type of the asset you want to upload. See the supported Media Types here: https://www.iana.org/assignments/media-types/media-types.xhtml for more information"
required: false
overwrite:
description: 'If an asset with the same name already exists, overwrite it (Default: false)'
description: "If an asset with the same name already exists, overwrite it (Default: false)"
required: false
default: false
outputs:
browser_download_url:
description: 'The URL users can navigate to in order to download the uploaded asset'
description: "The URL users can navigate to in order to download the uploaded asset"
runs:
using: 'node16'
main: 'dist/index.js'
using: "node20"
main: "dist/index.js"
branding:
icon: 'package'
color: 'gray-dark'
icon: "package"
color: "gray-dark"
29 changes: 16 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"devDependencies": {
"@types/jest": "^29.5.4",
"@types/mime-types": "^2.1.1",
"@types/node": "^16.18.3",
"@types/node": "^20.5.9",
"@typescript-eslint/parser": "^5.62.0",
"@zeit/ncc": "^0.22.3",
"@vercel/ncc": "^0.36.1",
"eslint": "^8.48.0",
"eslint-plugin-jest": "^27.2.3",
"jest": "^29.6.4",
Expand Down

0 comments on commit 0e34386

Please sign in to comment.