Last active
August 25, 2026 16:36
-
-
Save ChristopheCVB/63f05301328dc3a31e0d6ab8cfb65a55 to your computer and use it in GitHub Desktop.
Coolify + Release Please + Node
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: 'Test' | |
| description: 'Run type checking, linting and build the project' | |
| runs: | |
| using: "composite" | |
| steps: | |
| - name: Install dependencies 📦️ | |
| shell: bash | |
| run: pnpm install --frozen-lockfile | |
| - name: Type check 🔍 | |
| shell: bash | |
| run: pnpm typecheck | |
| - name: Lint code ✨ | |
| shell: bash | |
| run: pnpm lint | |
| - name: Build 🔨 | |
| shell: bash | |
| run: pnpm build |
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: Deploy | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Deploy | |
| uses: christophecvb/coolify-deploy-action@v3.0.1 | |
| with: | |
| token: ${{ secrets.COOLIFY_API_TOKEN }} | |
| domain: ${{ vars.COOLIFY_DOMAIN }} | |
| uuid: ${{ vars.COOLIFY_APP_UUID_BACK }},${{ vars.COOLIFY_APP_UUID_FRONT }} | |
| force: false | |
| waitForDeploy: true | |
| timeout: 600 |
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: Pull Request | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm 📦️ | |
| uses: pnpm/action-setup@v4 | |
| - name: Use Node LTS ✨ | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| registry-url: https://registry.npmjs.org | |
| cache: pnpm | |
| - uses: ./.github/actions/test |
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: Release Please | |
| on: | |
| push: | |
| branches: [ main ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: googleapis/release-please-action@v4 | |
| with: | |
| token: ${{ secrets.RELEASE_PLEASE_TOKEN }} | |
| release-type: node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment