#6 Translate module-reference/Theory.md to korean #612
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: pull_request | |
jobs: | |
local-validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: "13.x" | |
- run: yarn | |
- run: yarn docs-sync validate-against-en | |
site-builds: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: "13.x" | |
# Clone this PR, and setup the deps | |
- uses: actions/checkout@v1 | |
- run: yarn | |
# Clone the TS website, basically: | |
# git clone https://github.com/microsoft/TypeScript-Website website | |
- name: Checkout tools repo | |
uses: actions/checkout@v2 | |
with: | |
repository: microsoft/TypeScript-Website | |
path: website | |
# Both the microsoft/TypeScript-Website & 1 - don't really need to be there, but | |
# this migrates the translated docs into the website | |
- run: yarn docs-sync pull microsoft/TypeScript-Website 1 --from-cwd . --to-cwd website | |
# Get dependencies for building the ebooks | |
- run: sudo apt-get update | |
- run: sudo apt install calibre | |
- run: yarn install | |
env: | |
YARN_CHECKSUM_BEHAVIOR: ignore | |
working-directory: ./website | |
# Verify the website build | |
- run: yarn bootstrap | |
working-directory: ./website | |
- run: yarn workspace typescriptlang-org build | |
working-directory: ./website | |
# Verify the website build | |
- run: yarn test | |
working-directory: ./website |