Update dependency @tailwindcss/cli to v4.2.2 #490
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: Build & Deploy | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| tags: | ||
| - "v*" | ||
| pull_request: | ||
| branches: | ||
| - main | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: false | ||
| jobs: | ||
| build: | ||
| runs-on: ${{ vars.ACTION_RUNNER || 'ubuntu-24.04' }} | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 | ||
| - name: Cache Node modules | ||
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | ||
| with: | ||
| path: ~/.npm | ||
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-node- | ||
| - name: Cache Go modules | ||
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | ||
| with: | ||
| path: | | ||
| ~/.cache/go-build | ||
| ~/go/pkg/mod | ||
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum', '**/go.mod') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-go- | ||
| - name: Install Dependencies | ||
| run: just install generate | ||
| - name: Test | ||
| run: just test | ||
| - uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 | ||
| with: | ||
| install-mode: "none" | ||
| - name: Build | ||
| run: just build-all | ||
| release: | ||
| needs: | ||
| - build | ||
| if: github.event_name != 'pull_request' | ||
| runs-on: ${{ vars.ACTION_RUNNER || 'ubuntu-24.04' }} | ||
| permissions: | ||
| contents: write | ||
| packages: write | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| fetch-depth: 0 | ||
| - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 | ||
| - name: Cache Node modules | ||
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | ||
| with: | ||
| path: ~/.npm | ||
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-node- | ||
| - name: Cache Go modules | ||
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | ||
| with: | ||
| path: | | ||
| ~/.cache/go-build | ||
| ~/go/pkg/mod | ||
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum', '**/go.mod') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-go- | ||
| - uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0 | ||
| - uses: crazy-max/ghaction-github-runtime@3cb05d89e1f492524af3d41a1c98c83bc3025124 # v3.1.0 | ||
| - uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 | ||
| with: | ||
| registry: ghcr.io | ||
| username: ${{ github.actor }} | ||
| password: ${{ github.token }} | ||
| - name: Install Dependencies | ||
| run: just install generate | ||
| - name: Release Snapshot | ||
| if: success() && github.ref == 'refs/heads/main' | ||
| run: | | ||
| just release-snapshot | ||
| image="ghcr.io/${GITHUB_REPOSITORY@L}" | ||
| docker tag ko.local:develop $image:develop | ||
| docker push $image:develop --platform linux/amd64 | ||
| env: | ||
| GITHUB_TOKEN: ${{ github.token }} | ||
| - name: Release Version | ||
| if: success() && startsWith(github.ref, 'refs/tags/') | ||
| run: just release | ||
| env: | ||
| GITHUB_TOKEN: ${{ github.token }} | ||
| deploy: | ||
| needs: | ||
| - release | ||
| runs-on: ubuntu-24.04 | ||
| if: ${{ github.repository }} == "RobBrazier/bookfeed" | ||
|
Check warning on line 106 in .github/workflows/build.yml
|
||
| steps: | ||
| - name: Deploy | ||
| if: github.ref == 'refs/heads/main' | ||
| uses: benbristow/dokploy-deploy-action@3a2a16f0158b41377adf300c9dd6d3d396aa7586 # 0.2.2 | ||
| with: | ||
| api_token: ${{ secrets.DOKPLOY_AUTH_TOKEN }} | ||
| application_id: ${{ startsWith(github.ref, 'refs/tags/') && secrets.PROD_APPLICATION_ID || secrets.DEV_APPLICATION_ID }} | ||
| dokploy_url: ${{ secrets.DOKPLOY_URL }} | ||
| service_type: application | ||