Skip to content

Commit

Permalink
Merge pull request #333 from gregoranders/development
Browse files Browse the repository at this point in the history
0.0.21 Release
  • Loading branch information
gregoranders authored Oct 28, 2023
2 parents f5a917e + afe13c8 commit bcfc522
Show file tree
Hide file tree
Showing 17 changed files with 96 additions and 82 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ updates:
schedule:
interval: 'weekly'
labels:
- 'npm dependencies'
- 'github dependencies'
commit-message:
prefix: 'github-actions'
assignees:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
matrix:
language: ['javascript']
steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v4.1.1
with:
submodules: recursive
- uses: actions/setup-node@v3.6.0
- uses: actions/setup-node@v4.0.0
with:
node-version: 16.x
- name: Echo Node.js version
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [16.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v4.1.1
with:
submodules: recursive
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.0
with:
node-version: ${{ matrix.node-version }}
- name: nodejs project info
Expand All @@ -49,7 +49,7 @@ jobs:
path-to-lcov: ./test/coverage/lcov.info
- name: publish code coverage to code climate
if: matrix.os == 'ubuntu-latest'
uses: paambaati/codeclimate-action@v3.2.0
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [16.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v4.1.1
with:
submodules: recursive
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.0
with:
node-version: ${{ matrix.node-version }}
- name: nodejs project info
Expand All @@ -49,7 +49,7 @@ jobs:
path-to-lcov: ./test/coverage/lcov.info
- name: publish code coverage to code climate
if: matrix.os == 'ubuntu-latest'
uses: paambaati/codeclimate-action@v3.2.0
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [16.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v4.1.1
with:
submodules: recursive
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.0
with:
node-version: ${{ matrix.node-version }}
- name: nodejs project info
Expand All @@ -49,7 +49,7 @@ jobs:
path-to-lcov: ./test/coverage/lcov.info
- name: publish code coverage to code climate
if: matrix.os == 'ubuntu-latest'
uses: paambaati/codeclimate-action@v3.2.0
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [16.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v4.1.1
with:
submodules: recursive
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.0
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org/'
Expand All @@ -54,7 +54,7 @@ jobs:
path-to-lcov: ./test/coverage/lcov.info
- name: publish code coverage to code climate
if: matrix.os == 'ubuntu-latest'
uses: paambaati/codeclimate-action@v3.2.0
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
Expand Down
1 change: 1 addition & 0 deletions .markdownlintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/**
CHANGELOG.md
LICENSE
.github/**
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.19.0
20
1 change: 1 addition & 0 deletions .remarkignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node-modules/
docs/
CHANGELOG.md
.github/**
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [0.0.21](https://github.com/gregoranders/nodejs-upload-asset/compare/v0.0.20...v0.0.21) (2023-10-28)


### Features

* use node 20 ([5e3b06b](https://github.com/gregoranders/nodejs-upload-asset/commit/5e3b06b340bd656177152d7e0d7806778af9eaef))

## [0.0.19](https://github.com/gregoranders/nodejs-upload-asset/compare/v0.0.18...v0.0.19) (2022-12-28)

### [0.0.18](https://github.com/gregoranders/nodejs-upload-asset/compare/v0.0.17...v0.0.18) (2022-02-26)
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ This action uploads an asset to a release, so your workflow can access it.
...
- name: nodejs project information
id: projectinfo
uses: gregoranders/[email protected].20
uses: gregoranders/[email protected].21
- name: create release
id: createrelease
uses: gregoranders/[email protected].20
uses: gregoranders/[email protected].21
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -50,7 +50,7 @@ This action uploads an asset to a release, so your workflow can access it.
target: ${{ github.ref }}
- name: upload asset
id: uploadasset
uses: gregoranders/[email protected].20
uses: gregoranders/[email protected].21
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
3 changes: 2 additions & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

| Version | Supported |
| :------ | :----------------: |
| 0.0.20 | :white_check_mark: |
| 0.0.21 | :white_check_mark: |
| 0.0.20 | :x: |
| 0.0.19 | :x: |
| 0.0.18 | :x: |
| 0.0.17 | :x: |
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ outputs:
url:
description: 'Asset Download Url'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'package'
Expand Down
6 changes: 4 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/codeclimate.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

| Image | Size |
| :----------------------------------- | -----: |
| codeclimate/codeclimate | 102MB |
| codeclimate/codeclimate-duplication | 5.63GB |
| codeclimate/codeclimate | 143MB |
| codeclimate/codeclimate-duplication | 6.07GB |
| codeclimate/codeclimate-editorconfig | 74.1MB |
| codeclimate/codeclimate-eslint | 1.4GB |
| codeclimate/codeclimate-fixme | 58.8MB |
| codeclimate/codeclimate-eslint | 1.44GB |
| codeclimate/codeclimate-fixme | 64.8MB |
| codeclimate/codeclimate-git-legal | 373MB |
| codeclimate/codeclimate-markdownlint | 392MB |
| codeclimate/codeclimate-structure | 5.63GB |
| codeclimate/codeclimate-structure | 6.05GB |

### Initial docker images

Expand Down
100 changes: 50 additions & 50 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodejs-upload-asset",
"version": "0.0.20",
"version": "0.0.21",
"description": "NodeJS Upload Asset",
"main": "./dist/index.js",
"scripts": {
Expand Down Expand Up @@ -91,67 +91,67 @@
},
"homepage": "https://gregoranders.github.io/nodejs-upload-asset/",
"dependencies": {
"@actions/core": "1.10.0",
"@actions/github": "5.1.1",
"@actions/core": "1.10.1",
"@actions/github": "6.0.0",
"mime": "3.0.0"
},
"devDependencies": {
"@commitlint/cli": "17.6.3",
"@commitlint/config-conventional": "17.6.3",
"@types/jest": "29.5.1",
"@types/mime": "3.0.1",
"@typescript-eslint/eslint-plugin": "5.59.5",
"@typescript-eslint/parser": "5.59.5",
"@vercel/ncc": "0.36.1",
"conventional-changelog-cli": "2.2.2",
"@commitlint/cli": "18.2.0",
"@commitlint/config-conventional": "18.1.0",
"@types/jest": "29.5.6",
"@types/mime": "3.0.3",
"@typescript-eslint/eslint-plugin": "6.9.0",
"@typescript-eslint/parser": "6.9.0",
"@vercel/ncc": "0.38.1",
"conventional-changelog-cli": "4.1.0",
"cross-env": "7.0.3",
"dictionary-en": "3.2.0",
"eslint": "8.40.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-unicorn": "47.0.0",
"eslint": "8.52.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-jest": "27.6.0",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-unicorn": "48.0.1",
"generate-changelog": "1.8.0",
"husky": "8.0.3",
"jest": "29.5.0",
"jest-cli": "29.5.0",
"jest-html-reporter": "3.9.0",
"jest": "29.7.0",
"jest-cli": "29.7.0",
"jest-html-reporter": "3.10.2",
"jest-junit": "16.0.0",
"jest-spec-reporter": "1.0.19",
"lint-staged": "13.2.2",
"markdownlint": "0.28.2",
"markdownlint-cli": "0.34.0",
"prettier": "2.8.8",
"remark-cli": "11.0.0",
"remark-frontmatter": "4.0.1",
"remark-lint": "9.1.1",
"lint-staged": "15.0.2",
"markdownlint": "0.31.1",
"markdownlint-cli": "0.37.0",
"prettier": "3.0.3",
"remark-cli": "12.0.0",
"remark-frontmatter": "5.0.0",
"remark-lint": "9.1.2",
"remark-lint-heading-whitespace": "1.0.0",
"remark-lint-list-item-indent": "3.1.1",
"remark-lint-list-item-indent": "3.1.2",
"remark-lint-no-dead-urls": "1.1.0",
"remark-lint-no-duplicate-headings": "3.1.1",
"remark-lint-no-duplicate-headings": "3.1.2",
"remark-lint-write-good": "1.2.0",
"remark-preset-lint-consistent": "5.1.1",
"remark-preset-lint-markdown-style-guide": "5.1.2",
"remark-preset-lint-recommended": "6.1.2",
"remark-retext": "5.0.1",
"remark-validate-links": "12.1.1",
"retext-contractions": "5.2.0",
"retext-diacritics": "4.2.0",
"retext-english": "4.1.0",
"retext-equality": "6.7.0",
"retext-indefinite-article": "4.3.0",
"retext-passive": "4.2.0",
"retext-profanities": "7.2.2",
"retext-quotes": "5.2.0",
"retext-readability": "7.2.0",
"retext-redundant-acronyms": "4.3.0",
"retext-repeated-words": "4.2.0",
"retext-sentence-spacing": "5.2.0",
"retext-spell": "5.3.0",
"retext-syntax-urls": "3.1.2",
"remark-preset-lint-consistent": "5.1.2",
"remark-preset-lint-markdown-style-guide": "5.1.3",
"remark-preset-lint-recommended": "6.1.3",
"remark-retext": "6.0.0",
"remark-validate-links": "13.0.0",
"retext-contractions": "6.0.0",
"retext-diacritics": "5.0.0",
"retext-english": "5.0.0",
"retext-equality": "7.0.0",
"retext-indefinite-article": "5.0.0",
"retext-passive": "5.0.0",
"retext-profanities": "8.0.0",
"retext-quotes": "6.0.0",
"retext-readability": "8.0.0",
"retext-redundant-acronyms": "5.0.0",
"retext-repeated-words": "5.0.0",
"retext-sentence-spacing": "6.0.0",
"retext-spell": "6.0.0",
"retext-syntax-urls": "4.0.0",
"retext-usage": "0.5.0",
"rimraf": "5.0.0",
"ts-jest": "29.1.0",
"typescript": "5.0.4"
"rimraf": "5.0.5",
"ts-jest": "29.1.1",
"typescript": "5.2.2"
}
}
2 changes: 2 additions & 0 deletions src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ export const run = async (): Promise<void> => {

core.setOutput('id', asset.id.toString());
core.setOutput('url', asset.browser_download_url);
// eslint-disable-next-line @typescript-eslint/no-explicit-any
} catch (error: Error | any) {
// eslint-enable-next-line @typescript-eslint/no-explicit-any
core.setFailed(error);
}
};

0 comments on commit bcfc522

Please sign in to comment.