Skip to content

Commit 0d246cc

Browse files
committed
Merge branch 'main' into staleErrors
2 parents 8cd3af8 + 7e4a96e commit 0d246cc

File tree

632 files changed

+32965
-17961
lines changed

Some content is hidden

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

632 files changed

+32965
-17961
lines changed

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

+1-5
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 14
13-
uses: actions/setup-node@v3
14-
with:
15-
node-version: 14
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

+6-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [14.x, 16.x, 18.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:
2226
- uses: actions/checkout@v3
@@ -26,6 +30,7 @@ jobs:
2630
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/new-release-branch.yaml

+1-4
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 14.x
13-
uses: actions/setup-node@v3
14-
with:
15-
node-version: 14.x
12+
- uses: actions/setup-node@v3
1613
- uses: actions/checkout@v2
1714
with:
1815
fetch-depth: 5

.github/workflows/nightly.yaml

+2-5
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v2
18-
- name: Use node version 14
19-
uses: actions/setup-node@v3
18+
- uses: actions/setup-node@v3
2019
with:
21-
node-version: 14
20+
# Use NODE_AUTH_TOKEN environment variable to authenticate to this registry.
2221
registry-url: https://registry.npmjs.org/
2322
- name: Setup and publish nightly
2423
run: |
@@ -31,5 +30,3 @@ jobs:
3130
npm publish --tag next
3231
env:
3332
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
34-
CI: true
35-

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

+2-9
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 14
15-
uses: actions/setup-node@v3
16-
with:
17-
node-version: 14
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

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
fetch-depth: 5
2121

2222
- uses: actions/setup-node@v3
23-
with:
24-
node-version: 14
2523

2624
- name: Install dependencies
2725
run: npm ci

.github/workflows/set-version.yaml

+1-4
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 14.x
13-
uses: actions/setup-node@v3
14-
with:
15-
node-version: 14.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

+1-4
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 14.x
18-
uses: actions/setup-node@v3
19-
with:
20-
node-version: 14.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 }}

.github/workflows/twoslash-repros.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ jobs:
2323
if: ${{ github.repository == 'microsoft/TypeScript' && !github.event.label && !github.event.inputs.bisect_issue }}
2424
runs-on: ubuntu-latest
2525
steps:
26-
- name: Use node
27-
uses: actions/setup-node@v3
26+
- uses: actions/setup-node@v3
2827
- uses: microsoft/TypeScript-Twoslash-Repro-Action@master
29-
with:
28+
with:
3029
github-token: ${{ secrets.TS_BOT_GITHUB_TOKEN }}
31-
30+
3231
bisect:
3332
if: ${{ github.event.label.name == 'Bisect Repro' || github.event.inputs.bisect_issue }}
3433
runs-on: ubuntu-latest
@@ -37,9 +36,7 @@ jobs:
3736
with:
3837
fetch-depth: 0
3938
- uses: actions/setup-node@v3
40-
with:
41-
node-version: 16
4239
- uses: microsoft/TypeScript-Twoslash-Repro-Action@master
43-
with:
40+
with:
4441
github-token: ${{ secrets.TS_BOT_GITHUB_TOKEN }}
4542
bisect: ${{ github.event.issue.number || github.event.inputs.bisect_issue }}

.github/workflows/update-lkg.yml

+1-5
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 14
13-
uses: actions/setup-node@v3
14-
with:
15-
node-version: 14
16-
registry-url: https://registry.npmjs.org/
12+
- uses: actions/setup-node@v3
1713

1814
- name: Configure Git and Update LKG
1915
run: |

.github/workflows/update-package-lock.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@ jobs:
1717
- uses: actions/setup-node@v3
1818
with:
1919
node-version: 14
20-
registry-url: https://registry.npmjs.org/
2120

2221
- name: Configure git and update package-lock.json
2322
run: |
2423
git config user.email "[email protected]"
2524
git config user.name "TypeScript Bot"
26-
npm install --package-lock-only
25+
npm install --package-lock-only --ignore-scripts
2726
git add -f package-lock.json
2827
if git commit -m "Update package-lock.json"; then
2928
git push

package-lock.json

+27-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)