Skip to content

Commit ca66747

Browse files
committed
Merge branch 'main' into nongeneric-string-mappings
2 parents 5e8a5b5 + dc6a80b commit ca66747

File tree

3,045 files changed

+388028
-282860
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,045 files changed

+388028
-282860
lines changed

.github/workflows/accept-baselines-fix-lints.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v2
12-
- name: Use node version 12
13-
uses: actions/setup-node@v1
14-
with:
15-
node-version: 12
16-
registry-url: https://registry.npmjs.org/
12+
- uses: actions/setup-node@v3
1713

1814
- name: Configure Git, Run Tests, Update Baselines, Apply Fixes
1915
run: |

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,21 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [12.x, 14.x, 16.x]
19+
# Test the latest version of Node.js plus the last two LTS versions.
20+
node-version:
21+
- "*"
22+
- lts/*
23+
- lts/-1
2024

2125
steps:
22-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v3
2327
with:
2428
fetch-depth: 5
2529
- name: Use node version ${{ matrix.node-version }}
26-
uses: actions/setup-node@v1
30+
uses: actions/setup-node@v3
2731
with:
2832
node-version: ${{ matrix.node-version }}
33+
check-latest: true
2934
- name: Remove existing TypeScript
3035
run: |
3136
npm uninstall typescript --no-save
@@ -47,4 +52,3 @@ jobs:
4752

4853
- name: Validate the browser can import TypeScript
4954
run: gulp test-browser-integration
50-

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111

1212
# CodeQL runs on ubuntu-latest and windows-latest
1313
runs-on: ubuntu-latest
14+
if: github.repository == 'microsoft/TypeScript'
1415

1516
steps:
1617
- name: Checkout repository

.github/workflows/ensure-related-repos-run-crons.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
jobs:
1515
build:
1616
runs-on: ubuntu-latest
17+
if: github.repository == 'microsoft/TypeScript'
1718

1819
steps:
1920
- name: Configure git

.github/workflows/new-release-branch.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- name: Use node version 12.x
13-
uses: actions/setup-node@v1
14-
with:
15-
node-version: 12.x
12+
- uses: actions/setup-node@v3
1613
- uses: actions/checkout@v2
1714
with:
1815
fetch-depth: 5

.github/workflows/nightly.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14+
if: github.repository == 'microsoft/TypeScript'
1415

1516
steps:
1617
- uses: actions/checkout@v2
17-
- name: Use node version 12
18-
uses: actions/setup-node@v1
18+
- uses: actions/setup-node@v3
1919
with:
20-
node-version: 12
20+
# Use NODE_AUTH_TOKEN environment variable to authenticate to this registry.
2121
registry-url: https://registry.npmjs.org/
2222
- name: Setup and publish nightly
2323
run: |
@@ -30,5 +30,3 @@ jobs:
3030
npm publish --tag next
3131
env:
3232
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
33-
CI: true
34-

.github/workflows/release-branch-artifact.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v2
14-
- name: Use node version 12
15-
uses: actions/setup-node@v1
16-
with:
17-
node-version: 12
14+
- uses: actions/setup-node@v3
1815
- name: Remove existing TypeScript
1916
run: |
2017
npm uninstall typescript --no-save
@@ -23,10 +20,8 @@ jobs:
2320
run: |
2421
npm ci
2522
npm test
26-
env:
27-
CI: true
2823
- name: Adding playwright
29-
run: npm install --no-save --no-package-lock playwright
24+
run: npm install --no-save --no-package-lock playwright
3025
- name: Validate the browser can import TypeScript
3126
run: gulp test-browser-integration
3227
- name: LKG, clean, and pack
@@ -35,8 +30,6 @@ jobs:
3530
gulp clean
3631
npm pack ./
3732
mv typescript-*.tgz typescript.tgz
38-
env:
39-
CI: true
4033
- name: Upload built tarfile
4134
uses: actions/upload-artifact@v1
4235
with:

.github/workflows/rich-navigation.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ jobs:
1919
with:
2020
fetch-depth: 5
2121

22-
- uses: actions/setup-node@v2
23-
with:
24-
node-version: 14
22+
- uses: actions/setup-node@v3
2523

2624
- name: Install dependencies
2725
run: npm ci

.github/workflows/set-version.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- name: Use node version 12.x
13-
uses: actions/setup-node@v1
14-
with:
15-
node-version: 12.x
12+
- uses: actions/setup-node@v3
1613
- uses: actions/checkout@v2
1714
with:
1815
ref: ${{ github.event.client_payload.branch_name }}

.github/workflows/sync-branch.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- name: Use node version 12.x
18-
uses: actions/setup-node@v1
19-
with:
20-
node-version: 12.x
17+
- uses: actions/setup-node@v3
2118
- uses: actions/checkout@v2
2219
with:
2320
ref: ${{ github.event.inputs.branch_name || github.event.client_payload.branch_name }}

0 commit comments

Comments
 (0)