Skip to content

Help with workflow, build app with next version before release #3357

Answered by ruiaraujo012
ruiaraujo012 asked this question in Q&A
Discussion options

You must be logged in to vote

Well, I ask and manage to answer to myself :D

release.yml:

name: Bump version, build and release

on:
  push:
    branches:
      - main
      - dev

jobs:
  ci:
    runs-on: ubuntu-latest
    steps:
      - name: Check out
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
          token: "${{ secrets.PAT }}"
      - name: Setup pnpm
        uses: pnpm/action-setup@v3
        with:
          version: 9
      - name: Setup Node
        uses: actions/setup-node@v4
        with:
          node-version-file: .nvmrc
          cache: pnpm
      - name: Install dependencies
        run: pnpm install --frozen-lockfile --prefer-offline
      - name: Get next version
        r…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ruiaraujo012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant