Commit graph

86 commits

Author SHA1 Message Date
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
Andrew Branch 2084404b8f
Install playwright on demand (#40722)
* Remove playwright from package.json

* Install playwright on demand

* Adds debugging info to the playwright script

* Move installation first

* Get it working on node 10 again

* Update browserIntegrationTest.js

* Update browserIntegrationTest.js

Co-authored-by: Orta <git@orta.io>
2020-09-29 12:22:04 -07:00
Wesley Wigham d40663f7e5
Pull all history in branch sync script
This got broken when it got updated to checkout@v2, which by default only checks out the specified ref and none of its history.
2020-09-14 19:55:36 -07:00
Justin Hutchings ea842c411e
Add CodeQL security scanning (#38939)
* Add CodeQL security scanning

* Add CodeQL configuration

Limiting analysis to the src folder only

* Add configuration file to codeql action workflow

* Update codeql-configuration.yml
2020-09-04 09:22:42 -07:00
Andrew Casey d6dda230bc Swallow empty-commit error 2020-08-25 10:16:58 -07:00
Andrew Casey 4778cda0b2 Delete extra npm update 2020-08-20 18:16:28 -07:00
Andrew Casey c12bc7b906 Update bot email address 2020-08-19 18:01:29 -07:00
Andrew Casey 00d7d52729 Git ignore package-lock.json and forcibly update in workflow 2020-08-19 17:57:22 -07:00
Andrew Casey 4d57d35949 Add a workflow to update package-lock.json daily 2020-08-19 17:16:24 -07:00
Andrew Casey 5bcb353e18 Adopt package-lock.json and npm ci 2020-08-19 16:50:23 -07:00
Wesley Wigham 44d9ceaf14
Small branch sync script change 2020-08-13 13:17:05 -07:00
Nathan Shively-Sanders dd09e8799c
Update CI node versions (#39940)
Drop 8, add 14
2020-08-06 14:14:21 -07:00
Daniel Rosenwasser 2106b07f22
Rename and use the default ref instead of having a workflow_dispatch option 2020-08-04 00:14:24 -07:00
Daniel Rosenwasser 817dc52fd3
Add an 'Update LKG' action (#39897) 2020-08-04 00:05:24 -07:00
Orta Therox f19c610d91
Adds latest version of TypeScript to the repro code (#39641) 2020-07-17 15:15:49 -04:00
Orta Therox 1d671c3588
Add twoslash repros to the compiler (#39628) 2020-07-16 18:39:49 -04:00
谭九鼎 87a74aa9ce
CI: Use checkout@v2 (#38822) 2020-07-10 12:10:26 -04:00
Daniel Rosenwasser b7193a6a44
Add workflow_dispatch to our nightly publish script. (#39485)
* Add workflow_dispatch to our nightly publish script.

* Update nightly.yaml
2020-07-07 16:11:14 -07:00
Orta Therox d462fb2fb9
Split the GH actions CI into multiple stages (#39210)
* Split the GH actions CI into multiple stages

* Add the -- for npm

* Improve the CI reports

* Use stylish formatting on CI

* Break TSC instead

* Try add the problem register for TSC only on node 12

* Fix GH Actions syntax maybe
2020-07-06 12:24:33 -04:00
Tierney Cyren b4735c0b3b
fix(a11y): make ISSUE_TEMPLATE/Bug_report.md more accessible for folks with screen readers (#39013) 2020-06-12 13:39:34 -07:00
Dan Dascalescu 0f3f37b30c
Fix typo in issue template titles (#38042) 2020-04-20 12:14:26 -07:00
Wesley Wigham bc8a98ff00
Add node 13 to CI 2020-04-09 16:16:06 -07:00
Orta 23b6f6e469
Remove node 8 from the github actions (#37870) 2020-04-09 16:15:25 -07:00
Wesley Wigham 544f4413b4
Rescedule nightly publish to 11pm pst, (7am ust)
So a nightly publish actually happens at what is night for most of the team.
2020-02-24 17:13:00 -08:00
Wesley Wigham 7bcb7232a1
Name workflow 2020-02-21 14:52:57 -08:00
Wesley Wigham 83271b7d0c
Probably dont need artifact drops on release branch PRs 2020-02-21 14:49:47 -08:00
Wesley Wigham b5cb71aaed
Add task mirroring devops release branch artifact building pipeline 2020-02-21 14:49:00 -08:00
Wesley Wigham 57df4663ad
Publishing to npm isnt the default on github for reasons 2020-02-21 10:43:02 -08:00
Wesley Wigham 5c7ef4c48a
Make the nightly publish cron task also respond to a publish-nightly event 2020-02-21 10:40:05 -08:00
Wesley Wigham d95942b05f
Port nightly publish task to actions 2020-02-21 10:35:44 -08:00
Wesley Wigham d0c961e544
Try removing fetch-depth 0 config to improve speed, add sync-branch workflow 2020-02-20 15:06:58 -08:00
Wesley Wigham 7ee1ef008a
Cast version result so it isnt declaration emitted as a literal type once it has a wellknown value 2020-02-20 14:49:04 -08:00
Wesley Wigham f80c0c163e
Add set-version workflow 2020-02-20 14:19:08 -08:00
Wesley Wigham 4940ff8eb3
One _big_ script block (since it seems like FS edits are not persistent across steps?) 2020-02-19 13:49:41 -08:00