From 9dfd4f2a11d1c0b48d324b86acddfd66d8685a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=91=BE=F0=9D=92=96=F0=9D=92=99=F0=9D=92=89?= Date: Mon, 23 Dec 2024 12:49:17 +0800 Subject: [PATCH] ci: publish --- .github/workflows/pkg.pr.new.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pkg.pr.new.yml diff --git a/.github/workflows/pkg.pr.new.yml b/.github/workflows/pkg.pr.new.yml new file mode 100644 index 000000000000..1d4e2ac0c1d1 --- /dev/null +++ b/.github/workflows/pkg.pr.new.yml @@ -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