Skip to content

Commit

Permalink
Merge branch 'master' into fix41581
Browse files Browse the repository at this point in the history
  • Loading branch information
ahejlsberg committed Dec 4, 2020
2 parents bf1ac8a + cd37a32 commit 9d9dea0
Show file tree
Hide file tree
Showing 1,110 changed files with 9,855 additions and 1,603 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/accept-baselines-fix-lints.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Accept Baselines and Fix Lints

on:
workflow_dispatch: {}

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use node version 12
uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/

- name: Configure Git, Run Tests, Update Baselines, Apply Fixes
run: |
git config user.email "typescriptbot@microsoft.com"
git config user.name "TypeScript Bot"
npm install
gulp runtests-parallel --ci --fix
gulp baseline-accept
git add ./src
git add ./tests/baselines/reference
git diff --cached
git commit -m "Update Baselines and/or Applied Lint Fixes"
git push
1 change: 1 addition & 0 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ task("LKG").description = "Makes a new LKG out of the built js files";
task("LKG").flags = {
" --built": "Compile using the built version of the compiler.",
};
task("lkg", series("LKG"));

const generateSpec = () => exec("cscript", ["//nologo", "scripts/word2md.js", path.resolve("doc/TypeScript Language Specification - ARCHIVED.docx"), path.resolve("doc/spec-ARCHIVED.md")]);
task("generate-spec", series(buildScripts, generateSpec));
Expand Down
153 changes: 83 additions & 70 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9d9dea0

Please sign in to comment.