Skip to content

.

. #5

Workflow file for this run

name: "🧪 Tests"
on:
workflow_dispatch:
inputs:
filter:
type: string
description: Filter tests
default: ""
workflow_call:
inputs:
filter:
type: string
push:
branches:
- master
paths:
- "packages/daisyui/functions/**"
- "packages/daisyui/src/**"
- "packages/daisyui/src/build.js"
- "packages/daisyui/src/index.js"
jobs:
tests:
timeout-minutes: 10
env:
filter: ${{ inputs.filter }}
name: "Tests"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
clean: false
# - name: Setup bun
# uses: oven-sh/setup-bun@v1
# - name: Install dependencies
# run: bun i
# - name: build package
# run: bun run build
# - name: Run tests
# run: |
# if [ -z "${{ env.filter }}" ]; then
# bun test
# else
# bun test -t ${{ env.filter }}
# fi