-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
889a97b
commit 9bb8f6a
Showing
4 changed files
with
366 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Publish Pull Request | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- '**' | ||
tags: | ||
- '!**' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
run_install: false | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: "pnpm" | ||
|
||
- name: Install Workspace dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Build packages | ||
run: pnpm run build:packages | ||
|
||
- name: Release commit-release | ||
run: pnpm dlx pkg-pr-new publish --pnpm './packages/*' --no-template |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"scripts": { | ||
"build": "turbo run build --no-daemon", | ||
"build:docs": "turbo run build --no-daemon --filter=docs", | ||
"build:packages": "turbo run build --no-daemon --filter=\"./packages/**\"", | ||
"dev": "turbo run dev --parallel --no-daemon", | ||
"lint": "biome lint --write", | ||
"format": "biome format --write", | ||
|
@@ -19,6 +20,7 @@ | |
"@commitlint/config-conventional": "^19.5.0", | ||
"is-ci": "3.0.1", | ||
"lefthook": "^1.7.22", | ||
"pkg-pr-new": "^0.0.30", | ||
"tsup": "^8.3.0", | ||
"turbo": "^2.1.3", | ||
"typescript": "^5.6.3" | ||
|
@@ -27,5 +29,10 @@ | |
"node": ">=14.0.0", | ||
"pnpm": ">=8" | ||
}, | ||
"packageManager": "[email protected]" | ||
"packageManager": "[email protected]", | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
} | ||
} |
Oops, something went wrong.