Merge pull request #691 from thebuilder/feat/remove-dist-copy #18
This file contains 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: Publish Pull Requests | |
on: [push, pull_request] | |
jobs: | |
pr-package: | |
runs-on: ubuntu-latest | |
steps: | |
- run: corepack enable | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
run: pnpm build | |
- name: Publish preview package | |
run: pnpx pkg-pr-new publish --no-template |