committed by
GitHub
parent
2e8e9d978b
commit
ee9005b260
14
.github/workflows/pre-release.yml
vendored
14
.github/workflows/pre-release.yml
vendored
@@ -4,9 +4,9 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version_type:
|
||||
description: 'Version bump type'
|
||||
description: "Version bump type"
|
||||
required: true
|
||||
default: 'patch'
|
||||
default: "patch"
|
||||
type: choice
|
||||
options:
|
||||
- patch
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
# Get the latest version from npm registry
|
||||
latest_npm_version=$(npm view vibe-kanban version 2>/dev/null || echo "0.0.0")
|
||||
echo "Latest npm version: $latest_npm_version"
|
||||
|
||||
|
||||
timestamp=$(date +%Y%m%d%H%M%S)
|
||||
|
||||
# Update root package.json based on npm version, not current package.json
|
||||
@@ -132,7 +132,7 @@ jobs:
|
||||
run: cd frontend && npx tsc --noEmit
|
||||
|
||||
- name: Build frontend
|
||||
run: npm run frontend:build
|
||||
run: cd frontend && npm run build
|
||||
env:
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
|
||||
@@ -156,7 +156,7 @@ jobs:
|
||||
retention-days: 1
|
||||
|
||||
build-backend:
|
||||
needs: [ bump-version, build-frontend ]
|
||||
needs: [bump-version, build-frontend]
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
# Platform matrix - keep target/name in sync with package-npx-cli job
|
||||
@@ -335,7 +335,7 @@ jobs:
|
||||
retention-days: 1
|
||||
|
||||
package-npx-cli:
|
||||
needs: [ bump-version, build-frontend, build-backend ]
|
||||
needs: [bump-version, build-frontend, build-backend]
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
# NOTE: This matrix must be kept in sync with build-backend job above
|
||||
@@ -417,7 +417,7 @@ jobs:
|
||||
retention-days: 1
|
||||
|
||||
create-prerelease:
|
||||
needs: [ bump-version, build-frontend, build-backend, package-npx-cli ]
|
||||
needs: [bump-version, build-frontend, build-backend, package-npx-cli]
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user