File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - release-*
7+ pull_request :
8+ branches :
9+ - release-*
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v2
17+ - name : Use node version 12
18+ uses : actions/setup-node@v1
19+ with :
20+ node-version : 12
21+ - name : Remove existing TypeScript
22+ run : |
23+ npm uninstall typescript --no-save
24+ npm uninstall tslint --no-save
25+ - name : npm install and test
26+ run : |
27+ npm install
28+ npm update
29+ npm test
30+ env :
31+ CI : true
32+ - name : Validate the browser can import TypeScript
33+ run : gulp test-browser-integration
34+ - name : LKG, clean, and pack
35+ run : |
36+ gulp LKG
37+ gulp clean
38+ npm pack ./
39+ mv typescript-*.tgz typescript.tgz
40+ env :
41+ CI : true
42+ - name : Upload built tarfile
43+ uses : actions/upload-artifact@v1
44+ with :
45+ name : tgz
46+ path : typescript.tgz
47+
You can’t perform that action at this time.
0 commit comments