From 3192fd1c4cec0d6bbb1f8d5e4fd44dd72319c404 Mon Sep 17 00:00:00 2001 From: Fernando Gonzalez Goncharov Date: Tue, 22 Oct 2024 11:05:19 +0300 Subject: [PATCH] chore: add pkg.pr.new action --- .github/workflows/pkg.pr.new.yml | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 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..793c89ae2 --- /dev/null +++ b/.github/workflows/pkg.pr.new.yml @@ -0,0 +1,35 @@ +name: 'pkg.pr.new' +on: + push: + branches: + - '**' + tags: + - '!**' + pull_request: + branches: + - main + +jobs: + continuous-release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install pnpm + uses: pnpm/action-setup@v4 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version-file: '.node_version' + cache: 'pnpm' + + - name: Install deps + run: pnpm install + + - name: Build + run: pnpm build + + - name: Release + run: pnpx pkg-pr-new publish --compact --pnpm './packages/issuer-sdk-js' './packages/idos-sdk-js' \ No newline at end of file