Skip to content

Commit

Permalink
chore: setup pkg.pr.new
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloricciuti committed Oct 24, 2024
1 parent 5a54ad9 commit 4652a88
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pkg.pr.new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish Any Commit
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 18.x
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm build

- run: pnpx pkg-pr-new publish --compact --no-template

0 comments on commit 4652a88

Please sign in to comment.