File tree 3 files changed +19
-13
lines changed
3 files changed +19
-13
lines changed Original file line number Diff line number Diff line change 22
22
- name : Setup pnpm
23
23
uses : pnpm/action-setup@v4
24
24
with :
25
- version : latest
25
+ version : 10.3.0
26
26
27
27
- name : Get pnpm store directory
28
28
id : pnpm-cache
63
63
- name : Setup pnpm
64
64
uses : pnpm/action-setup@v4
65
65
with :
66
- version : latest
66
+ version : 10.3.0
67
67
68
68
- name : Get pnpm store directory
69
69
id : pnpm-cache
@@ -103,7 +103,7 @@ jobs:
103
103
- name : Setup pnpm
104
104
uses : pnpm/action-setup@v4
105
105
with :
106
- version : latest
106
+ version : 10.3.0
107
107
108
108
- name : Get pnpm store directory
109
109
id : pnpm-cache
Original file line number Diff line number Diff line change 18
18
tag_name : ${{ steps.release-drafter.outputs.tag_name }}
19
19
steps :
20
20
# Get next version
21
- - uses : release-drafter/release-drafter@v5
21
+ - uses : release-drafter/release-drafter@v6
22
22
id : release-drafter
23
23
with :
24
24
config-name : release-drafter-git-green-cli.yml
34
34
steps :
35
35
# Extract SemVers from tag ([email protected] -> 1 0 0)
36
36
- name : Create SemVer outputs
37
- uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
37
+ uses : actions/github-script@v7
38
38
id : semver
39
39
with :
40
40
script : |
@@ -58,15 +58,21 @@ jobs:
58
58
ref : main
59
59
token : ${{ steps.app-token.outputs.token }}
60
60
61
- - name : Setup Bun
62
- uses : oven-sh/setup-bun@v1
61
+ - name : Setup Node.js
62
+ uses : actions/setup-node@v4
63
+ with :
64
+ node-version : ' lts/*'
65
+
66
+ - name : Setup pnpm
67
+ uses : pnpm/action-setup@v4
63
68
with :
64
- bun-version : latest
69
+ version : 10.3.0
70
+
65
71
- name : Install dependencies
66
- run : bun install
72
+ run : pnpm install
67
73
68
74
- name : Build
69
- run : bun build-packages
75
+ run : pnpm build-packages
70
76
71
77
- name : Setup git config
72
78
run : |
81
87
- run : |
82
88
cd ./packages/git-green-cli
83
89
npm version ${{ steps.semver.outputs.major }}.${{ steps.semver.outputs.minor }}.${{ steps.semver.outputs.patch }}
84
- git add ./**/package.json ./**/bun.lockb ./**/yarn. lock
90
+ git add ./**/package.json ./**/pnpm- lock.yaml
85
91
git commit -m "🎉release: release ${{ steps.semver.outputs.major }}.${{ steps.semver.outputs.minor }}.${{ steps.semver.outputs.patch }}"
86
92
npm publish --provenance
87
93
git push origin main
93
99
config-name : release-drafter-git-green-cli.yml
94
100
publish : true
95
101
env :
96
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
102
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 23
23
- name : Setup pnpm
24
24
uses : pnpm/action-setup@v4
25
25
with :
26
- version : latest
26
+ version : 10.3.0
27
27
28
28
- name : Get pnpm store directory
29
29
id : pnpm-cache
You can’t perform that action at this time.
0 commit comments