119 Commits

Author SHA1 Message Date
Jake Bailey
3c3820b1a4
Simplify CI detection (#50661) 2022-09-06 16:36:37 -07:00
Jake Bailey
cbc0b17eac
Push package-lock.json updates via typescript-bot token (#50476) 2022-08-26 14:36:25 -07:00
Jake Bailey
12c32553e4
Split CI linting/playwright out into separate jobs (#50406) 2022-08-22 17:42:29 -07:00
Andrew Casey
c0461be025
Update pr_owners.txt
Add Navya
2022-07-27 15:12:08 -07:00
Jake Bailey
1361567ea4
Update to npm 8, pin in package.json via volta and corepack (#49941) 2022-07-27 14:02:24 -07:00
Jake Bailey
adfb20fbeb
Don't uninstall typescript before npm ci in GHA (#50062) 2022-07-27 09:42:22 -07:00
Jack Bates
9357c183cb
Fix up "Use symbolic GitHub Actions Node.js versions (#49403)" (#49420)
* Fix up "Use symbolic GitHub Actions Node.js versions (#49403)"

* Use npm v6 to update package-lock.json
2022-06-07 14:20:05 -07:00
Jack Bates
0d7fbbb415
Use symbolic GitHub Actions Node.js versions (#49403) 2022-06-06 13:51:04 -07:00
Darius D
bab02d24be
Add Node v18 to CI (#48824)
* Add Node v18 to CI

* Address comments
2022-04-27 08:50:22 -07:00
Andrew Branch
7920783876
Fix workflow syntax error (#48842) 2022-04-25 13:03:02 -07:00
Marek Dědič
42fc05b087
Don't run scheduled GitHub actions on forks (#48693)
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2022-04-25 11:37:54 -07:00
Andrew Branch
0976658418
Allow triggering twoslash bisection manually (#48721) 2022-04-15 12:44:37 -07:00
Andrew Branch
4fdffbf58f
Checkout needs everything (#48689) 2022-04-13 17:25:05 -07:00
Andrew Branch
f1df67cf00
Fix workflow syntax 2022-04-13 17:21:19 -07:00
Andrew Branch
d7c95930ef
setup-node needs a version spec (#48688) 2022-04-13 17:19:39 -07:00
Andrew Branch
cb8ddd972d
WIP (#48682) 2022-04-13 17:16:31 -07:00
Andrew Branch
a7d818b24a
Allow twoslash-repros action to be run on-demand 2022-04-11 11:50:46 -07:00
Wesley Wigham
f30ce1ff8f
Update update-package-lock.yaml
12 -> 14
2022-04-08 11:16:49 -07:00
Wesley Wigham
5e721d979d
Update update-lkg.yml
12 -> 14
2022-04-08 11:16:27 -07:00
Wesley Wigham
76e6e46d51
Update sync-branch.yaml 2022-04-08 11:15:41 -07:00
Wesley Wigham
6bcc53bbce
Update set-version.yaml 2022-04-08 11:15:21 -07:00
Wesley Wigham
b246dee2b8
Update nightly.yaml 2022-04-08 11:14:50 -07:00
Wesley Wigham
a33e7acfc8
Update ci.yml
Update node versions
2022-04-08 11:14:11 -07:00
Wesley Wigham
8e447462a6
Update accept-baselines-fix-lints.yaml
12 -> 14
2022-04-08 11:13:37 -07:00
Wesley Wigham
ee82068989
Update new-release-branch.yaml
12 -> 14
2022-04-08 11:13:13 -07:00
Wesley Wigham
1df80737a1
Update release-branch-artifact.yaml
12 -> 14 (we have odd test errors on 12 that aren't worth debugging)
2022-04-08 11:12:29 -07:00
Ryan Cavanaugh
7addca63ae
Update issue templates (#48261) 2022-03-15 14:43:46 -07:00
Andrew Branch
03f9035029
[GH Actions] Implicitly use AUTHORIZATION header instead of PAT-in-URL (#47894)
* Implicitly use AUTHORIZATION header instead of PAT-in-URL

* Does just GITHUB_TOKEN work?

* Try unsetting extraheader config

* Do config inside repos
2022-02-14 12:40:07 -08:00
Orta Therox
935c05cf34
Fix the related repos CI (#47386) 2022-01-11 15:27:51 +00:00
Orta Therox
e46f3baec1
Adds a github actions workflow which pings related repos with a blank commit once a month to ensure their automation stays running (#46747) 2022-01-07 13:37:16 +00:00
tjjfvi
5cab95150a
Discourage typo fixes in PR template (#46908)
* Discourage typo fixes in PR template

Wording taken from [this comment](https://github.com/microsoft/TypeScript/pull/45834#issuecomment-919606286).

There have been a number of rejected typo fix PRs lately; hopefully this can reduce the amount of typo-fix-rejecting work for the team.

* Tweak typo fix discouragement in PR template

Removed "the same generally applies to other projects" per orta

* Update typo fix discouragement
2021-12-23 14:58:23 +00:00
Daniel Rosenwasser
6a1af7cf5f
Add DanielRosenwasser to PR owners. (#47006) 2021-12-03 12:32:16 -08:00
Jake Bailey
5113ba284b
Add jakebailey to pr_owners.txt (#46996) 2021-12-02 14:09:10 -08:00
Nathan Shively-Sanders
f30ab60579
Update github workflows node10 -> node16 (#45996) 2021-09-21 16:00:09 -07:00
Jack Bates
6aaefe41fe
Remove vestigial baselines (#45916)
* Remove vestigial baselines

* Update Baselines and/or Applied Lint Fixes

* Add --quiet

Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2021-09-16 12:49:47 -07:00
Orta Therox
a4364dcc62
Update pr_owners.txt (#45911) 2021-09-16 09:20:00 -07:00
Dirk Bäumer
b45e129f4a
Add rich navigation indexing action (#45431)
* Add rich navigation indexing action

* Remove dbaeumer/richNav from indexed branches

* Move lsifrc file to .github folder

* Remove dbaeumer/richNav
2021-08-24 13:38:11 -07:00
Orta Therox
b603a04eed
Switch references to master to main in the codebase + validating infra post-main migration (#44347)
* Update package.json

* Remove references to master in the codebase

* Add more master - main
2021-06-01 20:44:18 +01:00
Eli Barzilay
58a6692ef0 Implement a two-way mirroring between the wiki and its public repo
Previously, changes to the wiki would get merged to the public repo in a
once-a-week action.  This significantly revises this, making the two
sides be mirrors (up to the few seconds it takes to do a merge).

This is driven by a minimal-ish yaml file in both sides (`TypeScript`
and `TypeScript-wiki`) that *always* works from the script in the public
repo.

The two action specs are nearly identical, but there are some differences:

  - On the main repo, trigger on a `gollum` event, and in the wiki repo
    the usual (pushes, schedule, manual).  (The schedule run is kept as
    a just-in-case, and it's now running twice a week.)
  - The filename is `sync-wiki` on the TS side and just `sync` in the
    wiki.  (Good to avoid confusion if both files somehow find
    themselves in the same neighborhood.)
  - The secret names are different since I used the name that already
    exists in each side.

The script does *not* start with a checkout of its repository.  Doing
this in the TS side would be redundant (it would get the TS tree) and
slow.  Instead, it's always cloning the public wiki repo (`DASHREMOTE`,
since its url is `.../TypeScript-wiki`) and then fetching into it the
repo of the rendered wiki (`DOTREMOTE`, with a `.../TypeScript.wiki`)
url.

Also revised the README, since they should always be mirrored with this
change, and therefore there is no "source of truth".
2021-05-24 16:14:42 -04:00
Nathan Shively-Sanders
82cb50fa45
Simplify codeql github action (#44124)
The current action is failing with an error that recommends removing the
`git checkout HEAD^2` step.
2021-05-17 11:13:30 -07:00
Andrew Branch
a433c3c0ce
Pin octokit types (#43762)
* Pin @octokit/types to fix build error

* Allow update package lock to be run on a workflow dispatch
2021-04-21 11:50:29 -07:00
Afonso Jorge Ramos
b7c0e5da5d
Delete issue_template.md (#43320) 2021-03-22 10:39:37 -07:00
Daniel Rosenwasser
c25d9e913b
Fix regexes. (#42921) 2021-02-22 22:02:02 -08:00
Matt Kantor
1635b3293e
Fix a small typo in the issue template. (#42208) 2021-01-04 14:15:51 -08:00
Ryan Cavanaugh
22f452c5cd
Update issue templates (#42049)
* Update issue templates

* Update .github/ISSUE_TEMPLATE/Bug_report.md

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>

* Update .github/ISSUE_TEMPLATE/lib_change.md

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>

* Update .github/ISSUE_TEMPLATE/lib_change.md

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>

* Update .github/ISSUE_TEMPLATE/lib_change.md

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>

* Update .github/ISSUE_TEMPLATE/lib_change.md

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>

* Swap some orderings

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2020-12-22 09:04:56 -08:00
Andrew Branch
9ae375fcd5
Update accept-baselines-fix-lints.yaml (#41826) 2020-12-04 16:48:09 -08:00
Daniel Rosenwasser
f4157b41db
Add an action to update baselines/fix lints (#39898)
* Add an action to update baselines/fix lints

* Change email
2020-11-20 16:03:58 -08:00
Wesley Wigham
bfea348e40
Actually install playwright in artifact build script
Now that it's not installed by default
2020-11-11 16:33:39 -08:00
Nathan Shively-Sanders
0fc190ec32
Add more team members to pr_owners.txt (#41416)
1. I may have missed some frequent committers. Please let me know if I
did.
2. I'm not sure what pr_owners.txt is used for, besides the bot's
isTeamMember check. Maybe there's a reason the list is so small.
2020-11-09 14:08:43 -08:00
Niklas Mollenhauer
a21003dbf8
Use npm ci for nightly builds (#40905)
Using [npm ci](https://docs.npmjs.com/cli/ci.html) keeps the builds reproducible.

In this PR, we keep the nightly build en par with the [CI build workflow](https://github.com/microsoft/TypeScript/blob/master/.github/workflows/ci.yml#L33) as well as the [releasable package workflow](https://github.com/microsoft/TypeScript/blob/master/.github/workflows/release-branch-artifact.yaml#L24).
The used package-lock.json is updated [an hour before this workflow](https://github.com/microsoft/TypeScript/blob/master/.github/workflows/update-package-lock.yaml#L7), there should not be any lockfile conflicts.
2020-10-06 12:52:07 -04:00