chore(deps-dev): bump typescript-eslint from 8.63.0 to 8.64.0 #145
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: Main | |
| permissions: {} | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| lint_test_typescript: | |
| name: Lint, test and build TypeScript | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' || github.event_name == 'pull_request' | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e | |
| with: | |
| node-version: 26 | |
| cache: yarn | |
| - name: Install dependencies | |
| run: yarn --immutable | |
| - name: Lint, test and build | |
| run: | | |
| yarn lint | |
| yarn test | |
| yarn build | |
| lint_dockerfile: | |
| name: Lint Dockerfile | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' || github.event_name == 'pull_request' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - name: Lint Dockerfile | |
| uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 | |
| build_dockerfile: | |
| name: Build Docker image | |
| needs: lint_test_typescript | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' || github.event_name == 'pull_request' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c | |
| - name: Build Docker image | |
| uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a | |
| with: | |
| context: . | |
| push: false | |
| publish: | |
| name: Publish Release and Docker image | |
| needs: | |
| - lint_dockerfile | |
| - build_dockerfile | |
| permissions: | |
| contents: write | |
| packages: write | |
| issues: write | |
| outputs: | |
| new_release_published: ${{ steps.publish_release.outputs.new_release_published }} | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - name: Publish Release and Docker image | |
| id: publish_release | |
| uses: ffflorian/actions/docker-image-release@8d5ba76e2f78c010614681a5466182daf4388980 | |
| with: | |
| DOCKER_TOKEN: ${{ secrets.DOCKER_SECRET }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| git_author: 'ffflorian' | |
| git_email: 'git@ffflorian.de' | |
| # Deploy is part of this workflow because GitHub does not fire release events | |
| # when a release is created by a workflow using GITHUB_TOKEN, so a separate | |
| # deploy.yml listening on release:published would never be triggered. | |
| deploy: | |
| name: Deploy latest image | |
| needs: publish | |
| runs-on: ubuntu-latest | |
| permissions: | |
| deployments: write | |
| if: | | |
| always() && ( | |
| github.event_name == 'workflow_dispatch' || | |
| (needs.publish.result == 'success' && needs.publish.outputs.new_release_published == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main') | |
| ) | |
| steps: | |
| - name: Deploy | |
| uses: ffflorian/actions/coolify-deploy@8d5ba76e2f78c010614681a5466182daf4388980 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| domain: ${{ secrets.COOLIFY_DOMAIN }} | |
| token: ${{ secrets.COOLIFY_TOKEN }} | |
| uuid: ${{ secrets.COOLIFY_UUID }} |