chore: github 分支删除同步删除cnb 分支 #68
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: pkg-pr-new | |
| on: | |
| pull_request: | |
| branches: [dev, main] | |
| jobs: | |
| pkg-pr-new: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| cache: 'yarn' | |
| - name: Install dependencies | |
| run: yarn | |
| - name: Build package | |
| run: yarn build | |
| - name: Publish preview package | |
| run: | | |
| npx pkg-pr-new publish './packages/cherry-markdown' |