tw: support the v4 trailing ! important form #159
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| build: | |
| name: OCaml ${{ matrix.ocaml-compiler }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ocaml-compiler: | |
| - "5.2" | |
| - "5.4" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Install Tailwind CLI for example comparisons | |
| # Pin exact versions: the examples are byte-compared against this | |
| # Tailwind release, and a different one shifts output (units, calc | |
| # folding, palette rounding). | |
| run: npm install tailwindcss@4.3.1 @tailwindcss/cli@4.3.1 @tailwindcss/forms@0.5.11 @tailwindcss/typography@0.5.20 | |
| - uses: ocaml/setup-ocaml@v3 | |
| with: | |
| ocaml-compiler: ${{ matrix.ocaml-compiler }} | |
| - name: Install dependencies | |
| run: opam install . --deps-only --with-test -y | |
| - name: Build | |
| run: opam exec -- dune build | |
| - name: Test | |
| run: opam exec -- dune runtest |