Skip to content

ci: split examples tests #20

ci: split examples tests

ci: split examples tests #20

name: Examples tests - with-tailwind
on:
push:
branches: [main]
pull_request:
paths:
- examples/with-tailwind/**
- turborepo-tests/example-with-tailwind-*/**
- turborepo-tests/helpers/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
with-tailwind-example:
name: "with-tailwind"
timeout-minutes: 40
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# Disable corepack. actions/setup-node invokes other package managers and
# that causes corepack to throw an error, so we disable it first.
- name: Disable corepack
shell: bash
run: corepack disable
- name: Setup Turborepo Environment
uses: ./.github/actions/setup-turborepo-environment
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
node-version: "22"
- name: Install Global Turbo
uses: ./.github/actions/install-global-turbo
- name: Check with-tailwind example
shell: bash
run: turbo run test --filter="@turborepo-examples-tests/with-tailwind-*" --continue --token=${{ secrets.TURBO_TOKEN }} --team=${{ vars.TURBO_TEAM }} --env-mode=strict --concurrency=1