Skip to content

Commit

Permalink
ci: add pkr.pr.new (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
webfansplz authored Sep 3, 2024
1 parent f0feff7 commit 7f7982d
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/pkg.pr.new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish Any Commit

on:
pull_request:
push:
branches:
- '**'
tags:
- '!**'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- run: corepack enable

- name: Set node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm

- name: Install
run: pnpm install

- name: Build
run: pnpm build

- name: Release
run: pnpm dlx pkg-pr-new publish --compact --pnpm './packages/{core,devtools,devtools-api,devtools-kit,vite}'

0 comments on commit 7f7982d

Please sign in to comment.