v0.7.0 #652
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: Check TypeScript code | |
on: | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- ".github/workflows/check-ts.yml" | |
- "examples/**" | |
- "debugger/**" | |
- "tests/**" | |
- "js-pkg/**" | |
jobs: | |
check-ts-format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
- name: Check Formatting of Examples | |
run: npx prettier --check "**/src/**/*.{js,ts,tsx}" | |
working-directory: examples/ | |
- name: Check Formatting of Debugger | |
run: npx prettier --check "src/**/*.{ts,tsx}" | |
working-directory: debugger/ | |
- name: Check Formatting of Tests | |
run: npx prettier --check "src/**/*.ts" | |
working-directory: tests/ | |
- name: Check Formatting of React lib | |
run: npx prettier --check "src/**/*.{ts,tsx}" | |
working-directory: js-pkg/react/ | |
- name: Check Formatting of SDK | |
run: npx prettier --check "src/**/*.{ts,tsx}" | |
working-directory: js-pkg/sdk/ | |
- name: Check Formatting of client | |
run: npx prettier --check "src/**/*.{ts,tsx}" | |
working-directory: js-pkg/client/ | |
- name: Check Formatting of doc generator | |
run: npx prettier --check "**/*.{ts,tsx}" | |
working-directory: js-pkg/gen-docs/ |