https://github.com/garnertb/setup-tailwind
Installs the Tailwind CSS CLI binary for use in GitHub Actions.
https://github.com/garnertb/setup-tailwind
tailwind-cl tailwindcss tailwindcss-v4
Last synced: about 2 months ago
JSON representation
Installs the Tailwind CSS CLI binary for use in GitHub Actions.
- Host: GitHub
- URL: https://github.com/garnertb/setup-tailwind
- Owner: garnertb
- License: mit
- Created: 2025-02-27T21:02:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-18T08:48:24.000Z (8 months ago)
- Last Synced: 2025-11-29T23:42:05.949Z (8 months ago)
- Topics: tailwind-cl, tailwindcss, tailwindcss-v4
- Language: JavaScript
- Homepage:
- Size: 373 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Setup Tailwind CSS Action
This action installs the Tailwind CSS CLI binary for use in GitHub Actions workflows.
## Usage
Basic usage (auto-detects architecture):
```yaml
steps:
- uses: ./.github/actions/setup-tailwind
with:
version: 'v3.3.5'
```
With explicit architecture:
```yaml
steps:
- uses: ./.github/actions/setup-tailwind
with:
version: 'v3.3.5'
architecture: 'linux-x64'
```
## Inputs
| Input | Description | Required | Default |
|-------|-------------|----------|---------|
| version | Tailwind CSS version to install | Yes | v4.0.9 |
| architecture | Target architecture (linux-x64, linux-arm64, macos-arm64) | No | Auto-detected |
## Development
1. Install dependencies:
```bash
npm install
```
2. Build the action:
```bash
npm run build
```
This will create a `dist` folder with the compiled action code. The `dist` folder should be committed to the repository.