-
Notifications
You must be signed in to change notification settings - Fork 8
32 lines (30 loc) · 867 Bytes
/
release.yml
File metadata and controls
32 lines (30 loc) · 867 Bytes
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
name: Release
on:
workflow_run:
workflows: ["Check"]
branches: [main]
types: [completed]
permissions:
contents: write
actions: write
id-token: write
pull-requests: write
packages: write
jobs:
release:
if: github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
steps:
- uses: ProverCoderAI/action-release@v1.0.17
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
ref: ${{ github.event.workflow_run.head_sha }}
branch: ${{ github.event.workflow_run.head_branch }}
package_json_path: packages/app/package.json
pnpm_filter: ./packages/app
bump_type: patch
publish_npm: true
publish_github_packages: true
skip_if_unchanged: true
cancel_on_no_changes: true