Skip to content

Commit

Permalink
ci: add pkg.pr.new (#3494)
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 authored Mar 4, 2025
1 parent b1ca268 commit f211594
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:
branches: [develop]
pull_request:
branches: [develop]

jobs:
build:
if: ${{ github.repository == 'Tencent/tdesign-miniprogram' && !startsWith(github.head_ref, 'release/') }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 18

- run: npm install

- run: npm run build

- run: npx pkg-pr-new publish --compact

0 comments on commit f211594

Please sign in to comment.