Skip to content

init translation of type checking js files #129

init translation of type checking js files

init translation of type checking js files #129

Workflow file for this run

name: CI
on: pull_request
jobs:
local-validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "18.x"
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
- run: pnpm install
- run: pnpm docs-sync validate-against-en
site-builds:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "18.x"
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
# Clone this PR, and setup the deps
- run: pnpm install
# Clone the TS website, basically:
# git clone https://github.com/ts-zh-docs/TypeScript-Website website
- name: Checkout tools repo
uses: actions/checkout@v2
with:
repository: ts-zh-docs/TypeScript-Website
path: website
# Both the ts-zh-docs/TypeScript-Website & 1 - don't really need to be there, but
# this migrates the translated docs into the website
- run: pnpm docs-sync pull ts-zh-docs/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: pnpm install
env:
pnpm_CHECKSUM_BEHAVIOR: ignore
working-directory: ./website
# Verify the website build
- run: pnpm bootstrap
working-directory: ./website
- run: pnpm --filter typescriptlang-org build
working-directory: ./website
# # Verify the website build
# - run: pnpm test
# working-directory: ./website