Skip to content

Commit f6fb17a

Browse files
committed
chore: add pkg.pr.new action
1 parent b314233 commit f6fb17a

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/preview.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish Preview
2+
on: [push, pull_request]
3+
4+
jobs:
5+
version:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v4
10+
- uses: pnpm/action-setup@v4
11+
with:
12+
run_install: false
13+
- name: setup node.js
14+
uses: actions/setup-node@v4
15+
with:
16+
node-version: 22.x
17+
cache: pnpm
18+
19+
- name: Install dependencies
20+
run: pnpm install
21+
- name: Build
22+
run: pnpm build
23+
- name: Lint
24+
run: pnpm lint
25+
26+
- name: Create and publish versions
27+
run: pnpm dlx pkg-pr-new publish './packages/temporal-zod'

0 commit comments

Comments
 (0)