Update tailwindcss monorepo to v4.2.2 #1620
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
| # SPDX-FileCopyrightText: 2025 Norbert Melzer | |
| # SPDX-FileContributor: Norbert Melzer | |
| # | |
| # SPDX-License-Identifier: MIT | |
| name: Deploy the blog | |
| on: | |
| push: | |
| jobs: | |
| preflight: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| command: | |
| - prettier -c . | |
| - astro check | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: { token: "${{ secrets.GITHUB_TOKEN }}" } | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: ".tool-versions" | |
| cache: "yarn" | |
| cache-dependency-path: "yarn.lock" | |
| - run: yarn install | |
| - run: yarn ${{matrix.command}} | |
| deploy: | |
| runs-on: ubuntu-24.04 | |
| needs: | |
| - preflight | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: { token: "${{ secrets.GITHUB_TOKEN }}" } | |
| # - uses: cachix/install-nix-action@v20 | |
| # with: | |
| # install_url: https://releases.nixos.org/nix/nix-2.9.1/install | |
| # extra_nix_config: | | |
| # access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
| # experimental-features = nix-command flakes | |
| # - run: nix build .#blog | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: ".tool-versions" | |
| cache: "yarn" | |
| cache-dependency-path: "yarn.lock" | |
| - run: yarn install | |
| - run: yarn build | |
| - uses: cloudflare/pages-action@1 | |
| with: | |
| apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
| projectName: blog-nobbz-dev | |
| # directory: ./result | |
| directory: ./dist | |
| gitHubToken: ${{ secrets.GITHUB_TOKEN }} |