Skip to content

Commit 72f2732

Browse files
committed
ci: fix pnpm version
1 parent b9565d3 commit 72f2732

File tree

4 files changed

+11
-138
lines changed

4 files changed

+11
-138
lines changed

.github/workflows/alpha-release.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ jobs:
1616
with:
1717
fetch-depth: 0
1818

19-
- uses: pnpm/action-setup@v2
20-
19+
- name: Install pnpm
20+
uses: pnpm/action-setup@v4
21+
with:
22+
version: 10.10.0
23+
run_install: false
2124
- uses: actions/setup-node@v4
2225
with:
2326
node-version: "20"
@@ -31,15 +34,9 @@ jobs:
3134
- name: Build packages
3235
run: pnpm build:ripple
3336

34-
- name: Calculate git hash
35-
id: git-hash
36-
run: |
37-
GIT_HASH=$(git rev-parse --short HEAD)
38-
echo "git_hash=$GIT_HASH" >> $GITHUB_OUTPUT
39-
4037
- name: Bump versions for alpha
4138
run: |
42-
pnpm -r --filter './packages/**' exec sh -c 'CURRENT_VERSION=$(node -p "require(\"./package.json\").version") && NEW_VERSION="${CURRENT_VERSION}-alpha.${{ steps.git-hash.outputs.git_hash }}" && pnpm version "$NEW_VERSION" --no-git-tag-version'
39+
pnpm -r --filter './packages/**' --filter '!ripple-storybook' exec sh -c 'CURRENT_VERSION=$(node -p "require(\"./package.json\").version") && NEW_VERSION="${CURRENT_VERSION}-alpha.$(git rev-parse --short HEAD)" && pnpm version "$NEW_VERSION" --no-git-tag-version'
4340
4441
- name: Publish alpha to GitHub Package Registry
4542
run: pnpm -r --filter './packages/**' --filter '!ripple-storybook' publish --tag alpha --no-git-checks

.github/workflows/publish-canary.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 0 additions & 86 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v4
3333

34-
- uses: pnpm/action-setup@v3
34+
- name: Install pnpm
35+
uses: pnpm/action-setup@v4
36+
with:
37+
version: 10.10.0
38+
run_install: false
3539

3640
- uses: actions/setup-node@v4
3741
with:

0 commit comments

Comments
 (0)