Skip to content

Commit

Permalink
TypeScript 5.1 supports Node.js 14
Browse files Browse the repository at this point in the history
  • Loading branch information
shimataro committed Jun 3, 2023
1 parent 6acf90e commit 2cf820d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 12 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/examples-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,19 @@ jobs:
- ubuntu-20.04
- ubuntu-22.04
nodejs:
- "8.3.0" # TypeScript 5 uses "spread syntax in object literals" internally, that is supported as of Node.js v8.3.0; https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntaxhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax
- "10.0.0"
- "12.0.0"
- "14.0.0"
- "14.0.0" # TypeScript>=5.1 uses "Nullish coalescing operator" internally, that is supported as of Node.js v14; https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing
- "16.0.0"
- "18.0.0"
typescript:
- "5.0"
- "5.1"
include:
- typescript: "5.0"
nodejs: "8.3.0" # TypeScript 5 uses "spread syntax in object literals" internally, that is supported as of Node.js v8.3.0; https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntaxhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax
- typescript: "5.0"
nodejs: "10.0.0"
- typescript: "5.0"
nodejs: "12.0.0"
fail-fast: false
uses: "./.github/workflows/reusable-typescript.yml"
with:
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/examples-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,19 @@ jobs:
- macos-11
- macos-12
nodejs:
- "8.3.0" # TypeScript 5 uses "spread syntax in object literals" internally, that is supported as of Node.js v8.3.0; https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntaxhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax
- "10.0.0"
- "12.0.0"
- "14.0.0"
- "14.0.0" # TypeScript>=5.1 uses "Nullish coalescing operator" internally, that is supported as of Node.js v14; https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing
- "16.0.0"
- "18.0.0"
typescript:
- "5.0"
- "5.1"
include:
- typescript: "5.0"
nodejs: "8.3.0" # TypeScript 5 uses "spread syntax in object literals" internally, that is supported as of Node.js v8.3.0; https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntaxhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax
- typescript: "5.0"
nodejs: "10.0.0"
- typescript: "5.0"
nodejs: "12.0.0"
fail-fast: false
uses: "./.github/workflows/reusable-typescript.yml"
with:
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/examples-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,19 @@ jobs:
- windows-2019
- windows-2022
nodejs:
- "8.3.0" # TypeScript 5 uses "spread syntax in object literals" internally, that is supported as of Node.js v8.3.0; https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntaxhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax
- "10.0.0"
- "12.0.0"
- "14.0.0"
- "14.0.0" # TypeScript>=5.1 uses "Nullish coalescing operator" internally, that is supported as of Node.js v14; https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing
- "16.0.0"
- "18.0.0"
typescript:
- "5.0"
- "5.1"
include:
- typescript: "5.0"
nodejs: "8.3.0" # TypeScript 5 uses "spread syntax in object literals" internally, that is supported as of Node.js v8.3.0; https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntaxhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax
- typescript: "5.0"
nodejs: "10.0.0"
- typescript: "5.0"
nodejs: "12.0.0"
fail-fast: false
uses: "./.github/workflows/reusable-typescript.yml"
with:
Expand Down

0 comments on commit 2cf820d

Please sign in to comment.