Skip to content

Commit 1472311

Browse files
author
CRA Keishi Kawada
committed
ci: use pnpm
1 parent 37c97fd commit 1472311

File tree

4 files changed

+6
-21
lines changed

4 files changed

+6
-21
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ jobs:
2121
exit 1
2222
fi
2323
working-directory: ./packages/hooks
24-
- run: npm install
25-
working-directory: ./packages/hooks
26-
- run: npm run build
24+
- uses: pnpm/action-setup@v2
25+
with:
26+
version: 8
27+
- run: pnpm run build
2728
working-directory: ./packages/hooks
2829
- run: npm publish --access public
2930
env:

packages/hooks/package-lock.json

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

packages/hooks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-hook-observability/hooks",
3-
"version": "0.1.17",
3+
"version": "0.1.19",
44
"description": "provides Observability as React Hooks in React.",
55
"main": "dist/index.js",
66
"private": false,

packages/hooks/scripts/publish-patch.sh

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set -e
44

55
export version=$(npm version patch)
66
git add .
7+
git commit
78
git tag $version
89
git push --tag
910
gh release create $version

0 commit comments

Comments
 (0)