update demo app package version #47
Workflow file for this run
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 Preview Package | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- run: corepack enable | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Install node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.node-version' | |
registry-url: https://registry.npmjs.org/ | |
cache: 'pnpm' | |
- name: Install deps | |
run: pnpm install | |
- name: Build App | |
run: | | |
pnpm build:panel | |
- name: Publish with pnpm | |
run: | | |
cd packages/trpc-ui | |
pnpm install | |
pnpm pkg-pr-new publish --pnpm --packageManager=pnpm |