[types] Validate CSSProperties against the CSS grammar, Baseline, and Flow #3873
This file contains hidden or 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: tests | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| flow: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22.x' | |
| cache: 'yarn' | |
| cache-dependency-path: yarn.lock | |
| - run: corepack prepare yarn@1.22.22 --activate | |
| - run: yarn install --frozen-lockfile | |
| - run: yarn flow | |
| packages: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22.x' | |
| cache: 'yarn' | |
| cache-dependency-path: yarn.lock | |
| - run: corepack prepare yarn@1.22.22 --activate | |
| - run: yarn install --frozen-lockfile | |
| - run: yarn test:packages | |
| - run: yarn workspace @stylexjs/devtools-extension build | |
| - run: yarn workspace @stylexjs/devtools-extension verify:build | |
| - run: yarn workspace @stylexjs/devtools-extension web-ext:lint | |
| prettier: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22.x' | |
| cache: 'yarn' | |
| cache-dependency-path: yarn.lock | |
| - run: corepack prepare yarn@1.22.22 --activate | |
| - run: yarn install --frozen-lockfile | |
| - run: yarn prettier:report | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22.x' | |
| cache: 'yarn' | |
| cache-dependency-path: yarn.lock | |
| - run: corepack prepare yarn@1.22.22 --activate | |
| - run: yarn install --frozen-lockfile | |
| - run: yarn lint:report | |
| spelling: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: crate-ci/typos@v1 | |
| with: | |
| config: .github/workflows/typos.toml |