-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (43 loc) · 1.61 KB
/
release-please.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: 🎉 Release Please
on:
push:
branches:
- main
jobs:
release_please:
name: 🔖 Release Please
runs-on: ubuntu-latest
steps:
- name: Create Release
id: release
uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: septic-config
bump-minor-pre-major: true
changelog-types: >
[{"type":"build", "section":"📦 Build system","hidden":false},
{"type":"chore", "section":"🧹 Chores","hidden":false},
{"type":"ci", "section":"👷 CI/CD","hidden":false},
{"type":"docs","section":"📚 Documentation","hidden":false},
{"type":"feat","section":"✨ Features","hidden":false},
{"type":"fix","section":"🐛 Bug Fixes","hidden":false},
{"type":"perf", "section":"🏎️ Optimalization","hidden":false},
{"type":"refactor", "section":"🔨 Refactor","hidden":false},
{"type":"revert", "section":"⏪️ Revert","hidden":false},
{"type":"style","section":"💎 Style","hidden":false},
{"type":"test", "section":"🧪 Tests","hidden":false}]
outputs:
release_created: ${{ steps.release.outputs.release_created }}
build:
name: "🛠️ Build"
if: ${{ needs.release_please.outputs.release_created }}
needs: [release_please]
uses: ./.github/workflows/build-workflow.yml
deploy:
name: "🚀 Publish"
needs: [build]
uses: ./.github/workflows/deploy-workflow.yml
with:
artifact: ${{ needs.build.outputs.artifact-name }}
secrets: inherit