mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
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
This commit is contained in:
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@@ -30,12 +30,19 @@ jobs:
|
||||
run: |
|
||||
npm uninstall typescript --no-save
|
||||
npm uninstall tslint --no-save
|
||||
- name: npm install and test
|
||||
run: |
|
||||
npm install
|
||||
npm update
|
||||
npm test
|
||||
|
||||
- run: npm install
|
||||
- run: npm update
|
||||
|
||||
# Re: https://github.com/actions/setup-node/pull/125
|
||||
- name: Register Problem Matcher for TSC
|
||||
run: echo "##[add-matcher].github/tsc.json"
|
||||
|
||||
- name: Tests
|
||||
run: npm test -- --no-lint
|
||||
|
||||
- name: Linter
|
||||
run: npm run lint:ci
|
||||
|
||||
- name: Validate the browser can import TypeScript
|
||||
run: gulp test-browser-integration
|
||||
|
||||
Reference in New Issue
Block a user