fix(unplugin): detect pre-compiled StyleX packages and prevent Next.js App Router runtime injection #3461
Workflow file for this run
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 | |
| 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@master | |
| with: | |
| config: .github/workflows/typos.toml |