TransformControls: Add min/max constraints. #2186
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: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: 'three-ts-types' | |
- uses: actions/checkout@v4 | |
with: | |
repository: 'DefinitelyTyped/DefinitelyTyped' | |
path: 'DefinitelyTyped' | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
- run: rsync -av --delete three-ts-types/types/three/ DefinitelyTyped/types/three | |
- run: git add -A | |
working-directory: 'DefinitelyTyped' | |
- run: git config --global user.email "[email protected]" | |
- run: git config --global user.name "Nathan Bierema" | |
- run: git commit -m "Changes" | |
working-directory: 'DefinitelyTyped' | |
- run: pnpm install --filter . --filter ...[HEAD^1]... | |
working-directory: 'DefinitelyTyped' | |
- run: pnpm run test-all --diffBase HEAD^1 | |
working-directory: 'DefinitelyTyped' | |
check-fomatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run format-check | |
type-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm exec tsc --project tsconfig.all-files.json | |
test-examples: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run create-examples | |
working-directory: examples-testing | |
- run: git apply changes.patch | |
working-directory: examples-testing | |
- run: pnpm run type-check | |
working-directory: examples-testing | |
- run: pnpm run format-check | |
working-directory: examples-testing | |
test-src: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run create-src | |
working-directory: src-testing | |
- run: git apply changes.patch | |
working-directory: src-testing | |
- run: pnpm run format-check | |
working-directory: src-testing | |
- run: pnpm run build-declarations | |
working-directory: src-testing | |
continue-on-error: true | |
- run: pnpm run format-dprint | |
working-directory: src-testing | |
- run: pnpm run check-declarations | |
working-directory: src-testing |