Skip to content

Commit d4f82a2

Browse files
committed
fix: add pnpm install to sb build and no git tag versions on release
1 parent 6eadc87 commit d4f82a2

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
steps:
4343
- name: Checkout
4444
uses: actions/checkout@v4
45+
- uses: pnpm/action-setup@v4
4546
- name: Build
4647
run: pnpm install --frozen-lockfile && pnpm build-storybook
4748
- name: Upload

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ably/ui",
3-
"version": "17.5.2",
3+
"version": "17.5.3",
44
"description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.",
55
"repository": {
66
"type": "git",

scripts/pre-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ echo "> Build library"
4848
NODE_ENV=production pnpm build
4949

5050
echo "> Update package.json version"
51-
pnpm version $VERSION --no-git-checks
51+
pnpm version $VERSION --no-git-checks --no-git-tag-version
5252

5353
echo "> Publish the npm package to the registry"
5454
pnpm publish --tag dev --no-git-checks

scripts/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ echo "Build library"
1313
NODE_ENV=production pnpm build
1414

1515
echo "Update package.json version"
16-
pnpm version $VERSION --no-git-checks
16+
pnpm version $VERSION --no-git-checks --no-git-tag-version
1717

1818
echo "Publish the npm package to the registry"
1919
pnpm publish --no-git-checks

0 commit comments

Comments
 (0)