From 053cf6b15643a69781718e4c5abcd9e763fbc3cd 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..ff8e4640e --- /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