Skip to content

Commit

Permalink
chore(hooks): release packages (#58)
Browse files Browse the repository at this point in the history
* chore(hooks): release packages

* chore(all): update lock file

* chore(all): update lock file

* chore(all): update lock file

* chore(all): upgrade pnpm version

* chore(all): upgrade pnpm version in lockfile

* chore(all): update compress size action

* chore(all): exclude docs

* chore(all): exclude docs
  • Loading branch information
zlatanpham committed Nov 30, 2023
1 parent fd86175 commit 6d52deb
Show file tree
Hide file tree
Showing 7 changed files with 3,686 additions and 3,822 deletions.
5 changes: 5 additions & 0 deletions .changeset/tough-rules-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@dwarvesf/react-hooks': patch
---

Release packages
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install deps and build (with cache)
uses: pnpm/action-setup@v2
with:
version: 8.2.0
version: 8.5.1
- run: pnpm i
- run: pnpm build
- run: rm -rf .next
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.2.0
version: 8.5.1

- name: Install Dependencies
run: pnpm install
Expand Down
15 changes: 4 additions & 11 deletions .github/workflows/size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
version: 16.x

- uses: pnpm/action-setup@v2
with:
version: 8.2.0

version: 8.5.1
run_install: false
- uses: actions/checkout@v3
- uses: preactjs/compressed-size-action@v2
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
build-script: 'build:packages'
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
auto-install-peers=true
auto-install-peers=false
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"build": "turbo run build",
"build:packages": "turbo build --filter=./packages/**/*",
"prepare": "pnpm run build",
"start:app": "pnpm run build && pnpm -C ./example start",
"changeset": "changeset",
Expand Down
Loading

0 comments on commit 6d52deb

Please sign in to comment.