Skip to content

Commit bcfc522

Browse files
authored
Merge pull request #333 from gregoranders/development
0.0.21 Release
2 parents f5a917e + afe13c8 commit bcfc522

17 files changed

+96
-82
lines changed

.github/dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ updates:
66
schedule:
77
interval: 'weekly'
88
labels:
9-
- 'npm dependencies'
9+
- 'github dependencies'
1010
commit-message:
1111
prefix: 'github-actions'
1212
assignees:

.github/workflows/codeql-analysis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
matrix:
1919
language: ['javascript']
2020
steps:
21-
- uses: actions/checkout@v3.5.0
21+
- uses: actions/checkout@v4.1.1
2222
with:
2323
submodules: recursive
24-
- uses: actions/setup-node@v3.6.0
24+
- uses: actions/setup-node@v4.0.0
2525
with:
2626
node-version: 16.x
2727
- name: Echo Node.js version

.github/workflows/development.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
strategy:
2020
matrix:
2121
os: [ubuntu-latest, macos-latest, windows-latest]
22-
node-version: [16.x]
22+
node-version: [20.x]
2323

2424
steps:
25-
- uses: actions/checkout@v3.5.0
25+
- uses: actions/checkout@v4.1.1
2626
with:
2727
submodules: recursive
2828
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
29-
uses: actions/setup-node@v3.6.0
29+
uses: actions/setup-node@v4.0.0
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232
- name: nodejs project info
@@ -49,7 +49,7 @@ jobs:
4949
path-to-lcov: ./test/coverage/lcov.info
5050
- name: publish code coverage to code climate
5151
if: matrix.os == 'ubuntu-latest'
52-
uses: paambaati/codeclimate-action@v3.2.0
52+
uses: paambaati/codeclimate-action@v5.0.0
5353
env:
5454
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
5555
with:

.github/workflows/feature.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
strategy:
2020
matrix:
2121
os: [ubuntu-latest, macos-latest, windows-latest]
22-
node-version: [16.x]
22+
node-version: [20.x]
2323

2424
steps:
25-
- uses: actions/checkout@v3.5.0
25+
- uses: actions/checkout@v4.1.1
2626
with:
2727
submodules: recursive
2828
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
29-
uses: actions/setup-node@v3.6.0
29+
uses: actions/setup-node@v4.0.0
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232
- name: nodejs project info
@@ -49,7 +49,7 @@ jobs:
4949
path-to-lcov: ./test/coverage/lcov.info
5050
- name: publish code coverage to code climate
5151
if: matrix.os == 'ubuntu-latest'
52-
uses: paambaati/codeclimate-action@v3.2.0
52+
uses: paambaati/codeclimate-action@v5.0.0
5353
env:
5454
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
5555
with:

.github/workflows/master.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
strategy:
2020
matrix:
2121
os: [ubuntu-latest, macos-latest, windows-latest]
22-
node-version: [16.x]
22+
node-version: [20.x]
2323

2424
steps:
25-
- uses: actions/checkout@v3.5.0
25+
- uses: actions/checkout@v4.1.1
2626
with:
2727
submodules: recursive
2828
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
29-
uses: actions/setup-node@v3.6.0
29+
uses: actions/setup-node@v4.0.0
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232
- name: nodejs project info
@@ -49,7 +49,7 @@ jobs:
4949
path-to-lcov: ./test/coverage/lcov.info
5050
- name: publish code coverage to code climate
5151
if: matrix.os == 'ubuntu-latest'
52-
uses: paambaati/codeclimate-action@v3.2.0
52+
uses: paambaati/codeclimate-action@v5.0.0
5353
env:
5454
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
5555
with:

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ jobs:
2323
strategy:
2424
matrix:
2525
os: [ubuntu-latest]
26-
node-version: [16.x]
26+
node-version: [20.x]
2727

2828
steps:
29-
- uses: actions/checkout@v3.5.0
29+
- uses: actions/checkout@v4.1.1
3030
with:
3131
submodules: recursive
3232
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
33-
uses: actions/setup-node@v3.6.0
33+
uses: actions/setup-node@v4.0.0
3434
with:
3535
node-version: ${{ matrix.node-version }}
3636
registry-url: 'https://registry.npmjs.org/'
@@ -54,7 +54,7 @@ jobs:
5454
path-to-lcov: ./test/coverage/lcov.info
5555
- name: publish code coverage to code climate
5656
if: matrix.os == 'ubuntu-latest'
57-
uses: paambaati/codeclimate-action@v3.2.0
57+
uses: paambaati/codeclimate-action@v5.0.0
5858
env:
5959
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
6060
with:

.markdownlintignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules/**
22
CHANGELOG.md
33
LICENSE
4+
.github/**

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.19.0
1+
20

.remarkignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node-modules/
22
docs/
33
CHANGELOG.md
4+
.github/**

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [0.0.21](https://github.com/gregoranders/nodejs-upload-asset/compare/v0.0.20...v0.0.21) (2023-10-28)
2+
3+
4+
### Features
5+
6+
* use node 20 ([5e3b06b](https://github.com/gregoranders/nodejs-upload-asset/commit/5e3b06b340bd656177152d7e0d7806778af9eaef))
7+
18
## [0.0.19](https://github.com/gregoranders/nodejs-upload-asset/compare/v0.0.18...v0.0.19) (2022-12-28)
29

310
### [0.0.18](https://github.com/gregoranders/nodejs-upload-asset/compare/v0.0.17...v0.0.18) (2022-02-26)

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ This action uploads an asset to a release, so your workflow can access it.
3838
...
3939
- name: nodejs project information
4040
id: projectinfo
41-
uses: gregoranders/[email protected].20
41+
uses: gregoranders/[email protected].21
4242
- name: create release
4343
id: createrelease
44-
uses: gregoranders/[email protected].20
44+
uses: gregoranders/[email protected].21
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
with:
@@ -50,7 +50,7 @@ This action uploads an asset to a release, so your workflow can access it.
5050
target: ${{ github.ref }}
5151
- name: upload asset
5252
id: uploadasset
53-
uses: gregoranders/[email protected].20
53+
uses: gregoranders/[email protected].21
5454
env:
5555
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5656
with:

SECURITY.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
| Version | Supported |
66
| :------ | :----------------: |
7-
| 0.0.20 | :white_check_mark: |
7+
| 0.0.21 | :white_check_mark: |
8+
| 0.0.20 | :x: |
89
| 0.0.19 | :x: |
910
| 0.0.18 | :x: |
1011
| 0.0.17 | :x: |

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ outputs:
2020
url:
2121
description: 'Asset Download Url'
2222
runs:
23-
using: 'node16'
23+
using: 'node20'
2424
main: 'dist/index.js'
2525
branding:
2626
icon: 'package'

dist/index.js

+4-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/codeclimate.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
| Image | Size |
88
| :----------------------------------- | -----: |
9-
| codeclimate/codeclimate | 102MB |
10-
| codeclimate/codeclimate-duplication | 5.63GB |
9+
| codeclimate/codeclimate | 143MB |
10+
| codeclimate/codeclimate-duplication | 6.07GB |
1111
| codeclimate/codeclimate-editorconfig | 74.1MB |
12-
| codeclimate/codeclimate-eslint | 1.4GB |
13-
| codeclimate/codeclimate-fixme | 58.8MB |
12+
| codeclimate/codeclimate-eslint | 1.44GB |
13+
| codeclimate/codeclimate-fixme | 64.8MB |
1414
| codeclimate/codeclimate-git-legal | 373MB |
1515
| codeclimate/codeclimate-markdownlint | 392MB |
16-
| codeclimate/codeclimate-structure | 5.63GB |
16+
| codeclimate/codeclimate-structure | 6.05GB |
1717

1818
### Initial docker images
1919

package.json

+50-50
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodejs-upload-asset",
3-
"version": "0.0.20",
3+
"version": "0.0.21",
44
"description": "NodeJS Upload Asset",
55
"main": "./dist/index.js",
66
"scripts": {
@@ -91,67 +91,67 @@
9191
},
9292
"homepage": "https://gregoranders.github.io/nodejs-upload-asset/",
9393
"dependencies": {
94-
"@actions/core": "1.10.0",
95-
"@actions/github": "5.1.1",
94+
"@actions/core": "1.10.1",
95+
"@actions/github": "6.0.0",
9696
"mime": "3.0.0"
9797
},
9898
"devDependencies": {
99-
"@commitlint/cli": "17.6.3",
100-
"@commitlint/config-conventional": "17.6.3",
101-
"@types/jest": "29.5.1",
102-
"@types/mime": "3.0.1",
103-
"@typescript-eslint/eslint-plugin": "5.59.5",
104-
"@typescript-eslint/parser": "5.59.5",
105-
"@vercel/ncc": "0.36.1",
106-
"conventional-changelog-cli": "2.2.2",
99+
"@commitlint/cli": "18.2.0",
100+
"@commitlint/config-conventional": "18.1.0",
101+
"@types/jest": "29.5.6",
102+
"@types/mime": "3.0.3",
103+
"@typescript-eslint/eslint-plugin": "6.9.0",
104+
"@typescript-eslint/parser": "6.9.0",
105+
"@vercel/ncc": "0.38.1",
106+
"conventional-changelog-cli": "4.1.0",
107107
"cross-env": "7.0.3",
108108
"dictionary-en": "3.2.0",
109-
"eslint": "8.40.0",
110-
"eslint-config-prettier": "8.8.0",
111-
"eslint-plugin-jest": "27.2.1",
112-
"eslint-plugin-prettier": "4.2.1",
113-
"eslint-plugin-unicorn": "47.0.0",
109+
"eslint": "8.52.0",
110+
"eslint-config-prettier": "9.0.0",
111+
"eslint-plugin-jest": "27.6.0",
112+
"eslint-plugin-prettier": "5.0.1",
113+
"eslint-plugin-unicorn": "48.0.1",
114114
"generate-changelog": "1.8.0",
115115
"husky": "8.0.3",
116-
"jest": "29.5.0",
117-
"jest-cli": "29.5.0",
118-
"jest-html-reporter": "3.9.0",
116+
"jest": "29.7.0",
117+
"jest-cli": "29.7.0",
118+
"jest-html-reporter": "3.10.2",
119119
"jest-junit": "16.0.0",
120120
"jest-spec-reporter": "1.0.19",
121-
"lint-staged": "13.2.2",
122-
"markdownlint": "0.28.2",
123-
"markdownlint-cli": "0.34.0",
124-
"prettier": "2.8.8",
125-
"remark-cli": "11.0.0",
126-
"remark-frontmatter": "4.0.1",
127-
"remark-lint": "9.1.1",
121+
"lint-staged": "15.0.2",
122+
"markdownlint": "0.31.1",
123+
"markdownlint-cli": "0.37.0",
124+
"prettier": "3.0.3",
125+
"remark-cli": "12.0.0",
126+
"remark-frontmatter": "5.0.0",
127+
"remark-lint": "9.1.2",
128128
"remark-lint-heading-whitespace": "1.0.0",
129-
"remark-lint-list-item-indent": "3.1.1",
129+
"remark-lint-list-item-indent": "3.1.2",
130130
"remark-lint-no-dead-urls": "1.1.0",
131-
"remark-lint-no-duplicate-headings": "3.1.1",
131+
"remark-lint-no-duplicate-headings": "3.1.2",
132132
"remark-lint-write-good": "1.2.0",
133-
"remark-preset-lint-consistent": "5.1.1",
134-
"remark-preset-lint-markdown-style-guide": "5.1.2",
135-
"remark-preset-lint-recommended": "6.1.2",
136-
"remark-retext": "5.0.1",
137-
"remark-validate-links": "12.1.1",
138-
"retext-contractions": "5.2.0",
139-
"retext-diacritics": "4.2.0",
140-
"retext-english": "4.1.0",
141-
"retext-equality": "6.7.0",
142-
"retext-indefinite-article": "4.3.0",
143-
"retext-passive": "4.2.0",
144-
"retext-profanities": "7.2.2",
145-
"retext-quotes": "5.2.0",
146-
"retext-readability": "7.2.0",
147-
"retext-redundant-acronyms": "4.3.0",
148-
"retext-repeated-words": "4.2.0",
149-
"retext-sentence-spacing": "5.2.0",
150-
"retext-spell": "5.3.0",
151-
"retext-syntax-urls": "3.1.2",
133+
"remark-preset-lint-consistent": "5.1.2",
134+
"remark-preset-lint-markdown-style-guide": "5.1.3",
135+
"remark-preset-lint-recommended": "6.1.3",
136+
"remark-retext": "6.0.0",
137+
"remark-validate-links": "13.0.0",
138+
"retext-contractions": "6.0.0",
139+
"retext-diacritics": "5.0.0",
140+
"retext-english": "5.0.0",
141+
"retext-equality": "7.0.0",
142+
"retext-indefinite-article": "5.0.0",
143+
"retext-passive": "5.0.0",
144+
"retext-profanities": "8.0.0",
145+
"retext-quotes": "6.0.0",
146+
"retext-readability": "8.0.0",
147+
"retext-redundant-acronyms": "5.0.0",
148+
"retext-repeated-words": "5.0.0",
149+
"retext-sentence-spacing": "6.0.0",
150+
"retext-spell": "6.0.0",
151+
"retext-syntax-urls": "4.0.0",
152152
"retext-usage": "0.5.0",
153-
"rimraf": "5.0.0",
154-
"ts-jest": "29.1.0",
155-
"typescript": "5.0.4"
153+
"rimraf": "5.0.5",
154+
"ts-jest": "29.1.1",
155+
"typescript": "5.2.2"
156156
}
157157
}

src/action.ts

+2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ export const run = async (): Promise<void> => {
6969

7070
core.setOutput('id', asset.id.toString());
7171
core.setOutput('url', asset.browser_download_url);
72+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
7273
} catch (error: Error | any) {
74+
// eslint-enable-next-line @typescript-eslint/no-explicit-any
7375
core.setFailed(error);
7476
}
7577
};

0 commit comments

Comments
 (0)