Skip to content

Commit

Permalink
ci: publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Wxh16144 committed Dec 23, 2024
1 parent 8fcfe79 commit 9dfd4f2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pkg.pr.new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish Any Commit

on: [push, pull_request]

# on:
# workflow_run:
# workflows: ['Build CI']
# types:
# - completed

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.12.1
- run: pnpm install
- run: pnpm run build

- run: pnpx pkg-pr-new publish './packages/*' --no-template

0 comments on commit 9dfd4f2

Please sign in to comment.