Skip to content

Commit

Permalink
feat: use node 20
Browse files Browse the repository at this point in the history
- update various dependencies
  • Loading branch information
gregoranders committed Oct 28, 2023
1 parent 89e8134 commit 144f7f9
Show file tree
Hide file tree
Showing 13 changed files with 81 additions and 77 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
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
matrix:
language: ['javascript']
steps:
- uses: actions/checkout@v3.5.2
- 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
node-version: 20.x
- name: Echo Node.js version
run: node --version
- name: Initialize CodeQL
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.2
- 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@v4.0.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.2
- 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@v4.0.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.2
- 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@v4.0.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.2
- 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@v4.0.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/**
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ outputs:
upload_url:
description: 'Release Upload 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
96 changes: 48 additions & 48 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,67 +94,67 @@
},
"homepage": "https://gregoranders.github.io/nodejs-create-release/",
"dependencies": {
"@actions/core": "1.10.0",
"@actions/github": "5.1.1",
"@octokit/rest": "19.0.7"
"@actions/core": "1.10.1",
"@actions/github": "6.0.0",
"@octokit/rest": "20.0.2"
},
"devDependencies": {
"@commitlint/cli": "17.6.3",
"@commitlint/config-conventional": "17.6.3",
"@types/jest": "29.5.1",
"@types/semver": "7.5.0",
"@typescript-eslint/eslint-plugin": "5.59.8",
"@typescript-eslint/parser": "5.59.8",
"@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/semver": "7.5.4",
"@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.2",
"remark-lint-write-good": "1.2.0",
"remark-preset-lint-consistent": "5.1.2",
"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-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"
}
}

0 comments on commit 144f7f9

Please sign in to comment.