Skip to content

Commit

Permalink
Upgrade to Node.js 20 (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkon authored Sep 4, 2023
1 parent 6394e59 commit 726d655
Show file tree
Hide file tree
Showing 9 changed files with 615 additions and 615 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
self_mutation_happened: ${{ steps.self_mutation.outputs.self_mutation_happened }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: npm

- run: npm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Moderate the issue
# uses: tachiyomiorg/issue-moderator-action@v2
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
1 change: 0 additions & 1 deletion .tool-versions

This file was deleted.

2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ branding:
icon: alert-circle
color: red
runs:
using: node16
using: node20
main: dist/index.js
inputs:
repo-token:
Expand Down
32 changes: 16 additions & 16 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 @@ -23,9 +23,9 @@
},
"devDependencies": {
"@octokit/action": "6.0.5",
"@tsconfig/node16": "16.1.1",
"@tsconfig/node20": "20.1.2",
"@types/dedent": "0.7.0",
"@types/node": "16.18.32",
"@types/node": "20.5.9",
"@vercel/ncc": "0.36.1",
"prettier": "3.0.3",
"typescript": "5.1.6",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node16",
"extends": "@tsconfig/node20",
"compilerOptions": {
"outDir": "lib",
"rootDir": "src"
Expand Down
Loading

0 comments on commit 726d655

Please sign in to comment.