Skip to content

Add preview publishing #4

Add preview publishing

Add preview publishing #4

Workflow file for this run

name: Publish preview
on:
pull_request:
push:
branches:
- "master"
tags:
- "!**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 9
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm -r build
- run: pnpx pkg-pr-new publish './packages/*' './plugins/*' --no-template --pnpm