Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump Node.js v20 #766

Merged
merged 5 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading