Skip to content

Commit

Permalink
ci: add pkg-pr-new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gciotola committed Nov 26, 2024
1 parent 994c9cd commit 4b6b980
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/pkg-pr-new.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: pkg-pr-new

on:
push:
branches:
- "**"
- "!main"
- "!release"
tags-ignore:
- "v*"
pull_request:
types: [ready_for_review]
branches-ignore:
- release

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false

- name: pnpm 🧰
uses: pnpm/action-setup@v3
with:
version: 9.x

- name: Node 🧰
uses: actions/setup-node@v4
with:
node-version: 22.x

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

- name: Build elements 🛠
run: pnpm build:elements

- name: Publish 🚀 pkg.pr.new
run: |
npx pkg-pr-new publish './packages/app-elements' --no-template

0 comments on commit 4b6b980

Please sign in to comment.