generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The node18 runner is not going to be supported by Github, and the current Node LTS version is 18. So let's jump directly from v16 to v20, to keep up with Node LTS. BREAKING CHANGE: The action now runs on node20 runner. If you use self-hosted runners, make sure you are able to run actions with node v20.
- Loading branch information
Showing
8 changed files
with
68 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,10 +16,10 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set Node.js 18.x | ||
- name: Set Node.js 20.x | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 18.x | ||
node-version: 20.x | ||
|
||
- uses: pnpm/action-setup@v2 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,10 +21,10 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set Node.js 18.x | ||
- name: Set Node.js 20.x | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 18.x | ||
node-version: 20.x | ||
|
||
- uses: pnpm/action-setup@v2 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,10 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set Node.js 18.x | ||
- name: Set Node.js 20.x | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 18.x | ||
node-version: 20.x | ||
|
||
- uses: pnpm/action-setup@v2 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v18 | ||
v20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,5 +27,5 @@ inputs: | |
default: ${{ github.token }} | ||
|
||
runs: | ||
using: 'node16' | ||
using: 'node20' | ||
main: 'dist/main.cjs' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
"actions" | ||
], | ||
"engines": { | ||
"node": "=18" | ||
"node": "=20" | ||
}, | ||
"packageManager": "[email protected]", | ||
"type": "module", | ||
|
@@ -50,7 +50,7 @@ | |
"@swc/core": "1.3.89", | ||
"@swc/jest": "0.2.29", | ||
"@types/jest": "29.5.5", | ||
"@types/node": "18.18.0", | ||
"@types/node": "20.6.2", | ||
"@typescript-eslint/eslint-plugin": "6.7.3", | ||
"@typescript-eslint/parser": "6.7.3", | ||
"chalk": "5.3.0", | ||
|
Oops, something went wrong.