From 8e29e761aa85469848a3843e02a23828e0dc7af5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E4=BC=9F=E6=9D=B0?= <674416404@qq.com> Date: Mon, 24 Feb 2025 20:36:27 +0800 Subject: [PATCH] ci: add pkg.pr.new --- .github/workflows/pkg-pr-new.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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 000000000..b6ca92147 --- /dev/null +++ b/.github/workflows/pkg-pr-new.yml @@ -0,0 +1,25 @@ +name: Publish_Any_Commit +on: + push: + branches: [develop] + pull_request: + branches: [develop] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - uses: actions/setup-node@v4 + with: + node-version: 18 + + - run: npm install + + - run: npm run build + + - run: npx pkg-pr-new publish --compact