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+ on : pull_request
3+
4+ jobs :
5+ local-validate :
6+ runs-on : ubuntu-latest
7+
8+ steps :
9+ - uses : actions/checkout@v1
10+ - uses : actions/setup-node@v1
11+ - run : yarn
12+ - run : yarn pull-en
13+ - run : yarn docs-sync validate
14+
15+
16+ site-builds :
17+ runs-on : ubuntu-latest
18+
19+ steps :
20+ - uses : actions/setup-node@v1
21+ with :
22+ node-version : " 13.x"
23+
24+ # Clone this PR, and setup the deps
25+ - uses : actions/checkout@v1
26+ - run : yarn
27+
28+ # Clone the TS website
29+ - name : Checkout tools repo
30+ uses : actions/checkout@v2
31+ with :
32+ repository : microsoft/TypeScript-Website
33+ path : website
34+
35+ # Both the microsoft/TypeScript-Website & 1 - don't really need to be there, but
36+ # this migrates the translated docs into the website
37+ - run : yarn docs-sync pull microsoft/TypeScript-Website 1 --from-cwd . --to-cwd TypeScript-Website
38+
39+ # Get dependencies for building the ebooks
40+ - run : sudo apt-get update
41+ - run : sudo apt install calibre
42+
43+ - run : cd website
44+ - run : yarn install
45+ env :
46+ YARN_CHECKSUM_BEHAVIOR : ignore
47+
48+ # Verify the website build
49+ - run : yarn bootstrap
50+ - run : yarn workspace typescriptlang-org build
Original file line number Diff line number Diff line change 1+ name : Codeowners merging
2+ on :
3+ pull_request_target : { types: opened }
4+ issue_comment : { types: created }
5+ pull_request_review : { types: submitted }
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v1
13+ - name : Run Codeowners merge check
14+ env :
15+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
16+ uses : OSS-Docs-Tools/code-owner-self-merge@master
Original file line number Diff line number Diff line change 1+ name : Weekly issue updates
2+
3+ on :
4+ schedule :
5+ # https://crontab.guru/#0_12_*_*_1
6+ - cron : " 0 12 * * 1"
7+ workflow_dispatch :
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v1
15+ - uses : actions/setup-node@v1
16+ - run : yarn install
17+ env :
18+ YARN_CHECKSUM_BEHAVIOR : ignore
19+
20+ # Update all the translation issues on a nightly basis
21+ - run : yarn docs-sync update-issues
22+ env :
23+ GITHUB_TOKEN : ${{ secrets.GITHUB_BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments