Skip to content

Commit 0c9a5d4

Browse files
committed
pnpm version
1 parent 26a4384 commit 0c9a5d4

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

.github/workflows/check.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup pnpm
2323
uses: pnpm/action-setup@v4
2424
with:
25-
version: latest
25+
version: 10.3.0
2626

2727
- name: Get pnpm store directory
2828
id: pnpm-cache
@@ -63,7 +63,7 @@ jobs:
6363
- name: Setup pnpm
6464
uses: pnpm/action-setup@v4
6565
with:
66-
version: latest
66+
version: 10.3.0
6767

6868
- name: Get pnpm store directory
6969
id: pnpm-cache
@@ -103,7 +103,7 @@ jobs:
103103
- name: Setup pnpm
104104
uses: pnpm/action-setup@v4
105105
with:
106-
version: latest
106+
version: 10.3.0
107107

108108
- name: Get pnpm store directory
109109
id: pnpm-cache

.github/workflows/release.yml

+15-9
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
tag_name: ${{ steps.release-drafter.outputs.tag_name }}
1919
steps:
2020
# Get next version
21-
- uses: release-drafter/release-drafter@v5
21+
- uses: release-drafter/release-drafter@v6
2222
id: release-drafter
2323
with:
2424
config-name: release-drafter-git-green-cli.yml
@@ -34,7 +34,7 @@ jobs:
3434
steps:
3535
# Extract SemVers from tag ([email protected] -> 1 0 0)
3636
- name: Create SemVer outputs
37-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
37+
uses: actions/github-script@v7
3838
id: semver
3939
with:
4040
script: |
@@ -58,15 +58,21 @@ jobs:
5858
ref: main
5959
token: ${{ steps.app-token.outputs.token }}
6060

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
6368
with:
64-
bun-version: latest
69+
version: 10.3.0
70+
6571
- name: Install dependencies
66-
run: bun install
72+
run: pnpm install
6773

6874
- name: Build
69-
run: bun build-packages
75+
run: pnpm build-packages
7076

7177
- name: Setup git config
7278
run: |
@@ -81,7 +87,7 @@ jobs:
8187
- run: |
8288
cd ./packages/git-green-cli
8389
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
8591
git commit -m "🎉release: release ${{ steps.semver.outputs.major }}.${{ steps.semver.outputs.minor }}.${{ steps.semver.outputs.patch }}"
8692
npm publish --provenance
8793
git push origin main
@@ -93,4 +99,4 @@ jobs:
9399
config-name: release-drafter-git-green-cli.yml
94100
publish: true
95101
env:
96-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/storybook.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup pnpm
2424
uses: pnpm/action-setup@v4
2525
with:
26-
version: latest
26+
version: 10.3.0
2727

2828
- name: Get pnpm store directory
2929
id: pnpm-cache

0 commit comments

Comments
 (0)