Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
131625c
Bump version to 5.8.0-beta and LKG
typescript-bot Jan 24, 2025
0d36ce7
Merge remote-tracking branch 'origin/main' into release-5.8
typescript-bot Feb 10, 2025
6fd1799
Update LKG
typescript-bot Feb 10, 2025
fb59c19
Merge remote-tracking branch 'origin/main' into release-5.8
typescript-bot Feb 10, 2025
48eb13f
Update LKG
typescript-bot Feb 10, 2025
420ff06
Bump version to 5.8.1-rc and LKG
typescript-bot Feb 12, 2025
f4a3a8a
🤖 Pick PR #61175 (Ban import=require and export= unde...) into releas…
typescript-bot Feb 20, 2025
8fdbd54
🤖 Pick PR #61210 (Fix mistakenly disallowed default e...) into releas…
typescript-bot Feb 26, 2025
beb69e4
Bump version to 5.8.2 and LKG
typescript-bot Feb 26, 2025
f6b94db
🤖 Pick PR #61392 (Fix serialization of accessor types...) into releas…
typescript-bot Mar 19, 2025
fca87f2
🤖 Pick PR #61244 (Ban old-style type assertions under...) into releas…
typescript-bot Mar 19, 2025
021dba5
🤖 Pick PR #61342 (Rename type parameters when they ar...) into releas…
typescript-bot Mar 19, 2025
88a002a
🤖 Pick PR #61261 (Fixed accidentally reused comments ...) into releas…
typescript-bot Mar 19, 2025
92eedcb
🤖 Pick PR #61452 (Fix errors on type assertions in er...) into releas…
typescript-bot Mar 19, 2025
1fcf6f5
Run CI on tsgo-port branch
jakebailey Mar 25, 2025
a2239d6
Update CI workflow with contents from main
jakebailey Mar 25, 2025
29d1a90
Sort unions without using type IDs
jakebailey Mar 8, 2025
72814ac
Update tests
jakebailey Mar 20, 2025
693b450
Port symbol sorting changes
jakebailey Mar 14, 2025
1d18102
Update tests
jakebailey Mar 20, 2025
92e68f4
Make old behavior toggleable, disable outside testing for continued p…
jakebailey Mar 27, 2025
dac0218
Fix node 14
jakebailey Mar 27, 2025
904535f
Fix lint
jakebailey Mar 27, 2025
66b407b
Remove unreferenced baselines
jakebailey Mar 27, 2025
5edb40e
Just make it a const, env var controlled for later use
jakebailey Mar 27, 2025
caf36c4
Make linter happy
jakebailey Mar 27, 2025
35f3c59
Hide omitted expression types in type baselines
jakebailey Mar 27, 2025
721ed5c
Merge commit '9d98874739' into HEAD
jakebailey Mar 27, 2025
0693cc7
Update baselines
jakebailey Mar 27, 2025
68cead1
Bump version to 5.8.3 and LKG
typescript-bot Apr 2, 2025
746c232
Merge remote-tracking branch 'upstream/release-5.8' into tsgo-port
jakebailey Jun 3, 2025
8dddd1a
Remove LKG
jakebailey Jun 18, 2025
8a39672
Port "Improve type discrimination algorithm" from tsgo (#61828)
jakebailey Jun 9, 2025
7eb74fd
Remove ES5 transforms
jakebailey Jun 12, 2025
c356203
Remove ES5 specific identifier handling
jakebailey Jun 12, 2025
6758cd9
Update TypeFlags order per tsgo PR 1226
jakebailey Jun 19, 2025
d4a3126
Port tsgo PR 1284
jakebailey Jun 24, 2025
e4e9fe7
Fix bad JSON syntax in tests, use JSON.parse first for perf (#61901)
jakebailey Jun 24, 2025
e1df139
Port other missing TypeFlags changes
jakebailey Jun 24, 2025
add6971
Fix more differences
jakebailey Jun 24, 2025
ae9e5da
Bump version to 5.9.0-beta and LKG
typescript-bot Jul 2, 2025
086e664
Merge remote-tracking branch 'origin/main' into release-5.9
typescript-bot Jul 23, 2025
463a5bf
Update LKG
typescript-bot Jul 23, 2025
ad825f2
Bump version to 5.9.1-rc and LKG
typescript-bot Jul 23, 2025
5be3346
Bump version to 5.9.2 and LKG
typescript-bot Jul 30, 2025
2dce0c5
Intentionally regress one buggy declaration output to an older versio…
weswigham Aug 1, 2025
0d9b9b9
🤖 Pick PR #61978 (Restructure CI to prepare for requi...) into releas…
typescript-bot Aug 1, 2025
abd17d4
Delete more broken tests before Node 24
jakebailey Aug 4, 2025
bdb641a
🤖 Pick PR #62311 (Fix parenthesizer rules for manuall...) into releas…
typescript-bot Sep 25, 2025
0424333
🤖 Pick PR #62423 (Revert PR 61928) into release-5.9 (#62425)
typescript-bot Sep 25, 2025
a131cac
🤖 Pick PR #62351 (Add missing Float16Array constructo...) into releas…
typescript-bot Sep 25, 2025
8428ca4
🤖 Pick PR #62438 (Fix incorrectly ignored dts file fr...) into releas…
typescript-bot Sep 25, 2025
c63de15
Bump version to 5.9.3 and LKG
typescript-bot Sep 25, 2025
b5061c6
Merge branch 'release-5.9' into tsgo-port
jakebailey Sep 30, 2025
bc7d426
Fix incorrect test options
jakebailey Sep 30, 2025
1ee9e0d
Remove circularity, rootDir errors from node modules compiler tests (…
jakebailey Oct 9, 2025
0933ab5
🤖 Pick PRs #62320 and #62338 into tsgo-port (#62637)
typescript-bot Oct 20, 2025
050a6f8
🤖 Pick PR #62641 (Fix fourslash tests) into tsgo-port (#62642)
typescript-bot Oct 20, 2025
bf40cd8
Pick #62669, #62567, #62509 to tsgo-port (#62671)
andrewbranch Oct 27, 2025
763d882
Drop code in tsgo-port that references ES5 or <ES2015 (#62670)
jakebailey Oct 27, 2025
f7f95f8
Apply tsgo PR 1987 to tsgo-port (#62696)
jakebailey Oct 30, 2025
39a1607
🤖 Pick PR #62697 (Switch custom runners from mariner-...) into tsgo-p…
typescript-bot Oct 31, 2025
9e8eaa1
🤖 Pick PR #62604 (Propagate variance reliability) into tsgo-port (#62…
typescript-bot Oct 31, 2025
b9ba6b3
New test to make sure `inlayHints` works with tuples as function para…
jthemphill Nov 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
146 changes: 122 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ on:
branches:
- main
- release-*
- tsgo-port
pull_request:
branches:
- main
- release-*
- tsgo-port
merge_group:
branches:
- main
# - release-*

permissions:
contents: read
Expand All @@ -24,43 +30,107 @@ jobs:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
node-version:
- '22'
- '20'
- '18'
- '16'
- '14'
bundle:
- 'true'
include:
- node-version: 'lts/*'
config:
# Main builds
- os: ubuntu-latest
node-version: '24'
bundle: true

# Other builds (skipped in merge queues)
- os: windows-latest
node-version: '24'
bundle: true
skip: ${{ github.event_name == 'merge_group' }}
- os: macos-latest
node-version: '24'
bundle: true
skip: ${{ github.event_name == 'merge_group' }}
- os: ubuntu-latest
node-version: '22'
bundle: true
- os: windows-latest
node-version: '22'
bundle: true
skip: ${{ github.event_name == 'merge_group' }}
# Skip macOS for this version; resources are limited.
# - os: macos-latest
# node-version: '22'
# bundle: true
# skip: ${{ github.event_name == 'merge_group' }}
- os: ubuntu-latest
node-version: '20'
bundle: true
- os: windows-latest
node-version: '20'
bundle: true
skip: ${{ github.event_name == 'merge_group' }}
# Skip macOS for this version; resources are limited.
# - os: macos-latest
# node-version: '20'
# bundle: true
# skip: ${{ github.event_name == 'merge_group' }}
- os: ubuntu-latest
node-version: '18'
bundle: true
- os: windows-latest
node-version: '18'
bundle: true
skip: ${{ github.event_name == 'merge_group' }}
# Skip macOS for this version; resources are limited.
# - os: macos-latest
# node-version: '18'
# bundle: true
# skip: ${{ github.event_name == 'merge_group' }}
- os: ubuntu-latest
node-version: '16'
bundle: true
- os: windows-latest
node-version: '16'
bundle: true
skip: ${{ github.event_name == 'merge_group' }}
- os: macos-latest
node-version: '16'
bundle: true
skip: ${{ github.event_name == 'merge_group' }}
- os: ubuntu-latest
node-version: '14'
bundle: true
skip: ${{ github.event_name == 'merge_group' }}
- os: windows-latest
node-version: '14'
bundle: true
skip: ${{ github.event_name == 'merge_group' }}
# No Node 14 on ARM macOS
# - os: macos-latest
# node-version: '14'
# bundle: true
# skip: ${{ github.event_name == 'merge_group' }}

- os: ubuntu-latest
node-version: 'lts/*'
bundle: false
os: ubuntu-latest
skip: ${{ github.event_name == 'merge_group' }}

exclude:
# No Node 14 on ARM macOS
- node-version: '14'
os: macos-latest
- config:
skip: true

runs-on: ${{ matrix.os }}
name: Test Node ${{ matrix.node-version }} on ${{ matrix.os }}${{ (!matrix.bundle && ' with --no-bundle') || '' }}
runs-on: ${{ matrix.config.os }}
name: Test Node ${{ matrix.config.node-version }} on ${{ matrix.config.os }}${{ (!matrix.config.bundle && ' with --no-bundle') || '' }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use node version ${{ matrix.node-version }}
- name: Use node version ${{ matrix.config.node-version }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.config.node-version }}
check-latest: true
- run: npm ci

- name: Tests
id: test
# run tests, but lint separately
run: npm run test -- --no-lint --bundle=${{ matrix.bundle }}
run: npm run test -- --no-lint --bundle=${{ matrix.config.bundle }}

- name: Print baseline diff on failure
if: ${{ failure() && steps.test.conclusion == 'failure' }}
Expand All @@ -70,10 +140,12 @@ jobs:
git diff --staged --exit-code

coverage:
if: ${{ github.event_name != 'merge_group' && github.ref != 'refs/heads/tsgo-port' }}

runs-on:
- 'self-hosted'
- '1ES.Pool=TypeScript-1ES-GitHub-Large'
- '1ES.ImageOverride=mariner-2.0'
- '1ES.ImageOverride=azure-linux-3'

permissions:
id-token: write
Expand Down Expand Up @@ -294,6 +366,8 @@ jobs:
run: npx hereby build-src --built

baselines:
if: ${{ github.event_name != 'merge_group' }}

runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -338,3 +412,27 @@ jobs:
with:
name: fix_baselines.patch
path: fix_baselines.patch

required:
runs-on: ubuntu-latest
if: ${{ always() }}
needs:
- test
- coverage
- lint
- knip
- format
- browser-integration
- typecheck
- smoke
- package-size
- misc
- self-check
- baselines

steps:
- name: Check required jobs
env:
NEEDS: ${{ toJson(needs) }}
run: |
! echo $NEEDS | jq -e 'to_entries[] | { job: .key, result: .value.result } | select((.result == "success" or .result == "skipped") | not)'
1 change: 1 addition & 0 deletions lib/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text eol=lf
Loading