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 889c7e5 commit fe5f143
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/pkg-pr-new.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: pkg-pr-new

on:
push:
branches:
- "**"
- "!main"
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 fe5f143

Please sign in to comment.