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