From 382eeaca0a3040e1e4c41c8981becbdf18fa7a0c Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Abiyat Date: Mon, 16 Dec 2024 10:55:30 +0330 Subject: [PATCH] chore: pkg.pr.new (#2904) * init * add a new line --------- Co-authored-by: Daishi Kato --- .github/workflows/cr.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/cr.yml diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml new file mode 100644 index 0000000000..4117bdd302 --- /dev/null +++ b/.github/workflows/cr.yml @@ -0,0 +1,17 @@ +name: Publish Any Commit + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: corepack enable + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'pnpm' + - run: pnpm install + - run: pnpm build + - run: pnpm dlx pkg-pr-new publish './dist' --compact --template './examples/*'