Skip to content

Commit d04aabe

Browse files
committed
ci: Add manual prerelease pipeline
1 parent 1bfb15f commit d04aabe

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/prerelease.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: prerelease
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
run_checks:
8+
name: Run code checks
9+
uses: spuxx1701/ci-cd/.github/workflows/pnpm_run_checks.yml@v4.0.0
10+
11+
run_unit_tests:
12+
name: Run unit tests
13+
uses: spuxx1701/ci-cd/.github/workflows/pnpm_run_unit_tests.yml@v4.0.0
14+
with:
15+
COVERAGE_FILENAME: reports/vitest/coverage/cobertura-coverage.xml
16+
COVERAGE_FAIL_BELOW_MIN: 100
17+
18+
run_release_please_prerelease:
19+
name: Run release-please prerelease
20+
uses: spuxx1701/ci-cd/.github/workflows/pnpm_release-please.yml@v4.0.0
21+
needs:
22+
- run_checks
23+
- run_unit_tests
24+
with:
25+
ARGS: "--prerelease"
26+
secrets:
27+
TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }}

0 commit comments

Comments
 (0)