Skip to content

Commit

Permalink
chore: add pkg.pr.new action
Browse files Browse the repository at this point in the history
  • Loading branch information
ditoglez committed Oct 22, 2024
1 parent 7f734b1 commit 3192fd1
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/pkg.pr.new.yml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 3192fd1

Please sign in to comment.