File tree Expand file tree Collapse file tree 1 file changed +0
-43
lines changed Expand file tree Collapse file tree 1 file changed +0
-43
lines changed Original file line number Diff line number Diff line change 16
16
description : ' Release Branch (confirm release branch)'
17
17
required : true
18
18
default : ' main'
19
- issue_comment :
20
- types : [created]
21
19
22
20
permissions :
23
21
id-token : write
24
22
25
23
jobs :
26
- issue_comment :
27
- name : Release with comment
28
- if : github.event.issue.pull_request && contains(github.event.comment.body, '!canary')
29
- runs-on : ubuntu-latest
30
-
31
- steps :
32
- - name : Checkout Repo
33
- uses : actions/checkout@v3
34
- with :
35
- fetch-depth : 1
36
- ref : refs/pull/${{ github.event.issue.number }}/head
37
-
38
- - name : Install Pnpm
39
- run : corepack enable
40
-
41
- - name : Setup Node.js 18
42
- uses : actions/setup-node@v3
43
- with :
44
- node-version : ' 18'
45
- cache : ' pnpm'
46
-
47
- - name : Install deps
48
- run : pnpm install
49
-
50
- - name : Build Packages
51
- run : pnpm run build:pkg
52
-
53
- - name : Release
54
- uses : module-federation/actions@v2
55
- with :
56
- version : ' next'
57
- type : ' release'
58
- branch : ' '
59
- tools : ' changeset'
60
- env :
61
- GITHUB_TOKEN : ${{ secrets.REPO_SCOPED_TOKEN }}
62
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
63
- REPOSITORY : ${{ github.repository }}
64
- PULL_REQUEST_NUMBER : ${{ github.event.issue.number }}
65
- COMMENT : ${{ toJson(github.event.comment) }}
66
-
67
24
release :
68
25
name : Release
69
26
if : ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'push' }}
You can’t perform that action at this time.
0 commit comments