Skip to content

Commit 3d8f016

Browse files
committed
chore(ci): add pkg-pr-new workflow and remove studio workflow
1 parent 129892a commit 3d8f016

File tree

2 files changed

+37
-82
lines changed

2 files changed

+37
-82
lines changed

.github/workflows/pkg-pr-new.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: pkg-pr-new
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- "**"
8+
tags:
9+
- "!**"
10+
11+
permissions: {}
12+
13+
jobs:
14+
publish:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v6
20+
21+
- name: Enable corepack
22+
run: corepack enable
23+
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v6
26+
with:
27+
node-version: 20
28+
cache: pnpm
29+
30+
- name: Install dependencies
31+
run: pnpm install --frozen-lockfile
32+
33+
- name: Build
34+
run: pnpm build
35+
36+
- name: Publish preview packages
37+
run: pnpm dlx pkg-pr-new publish

.github/workflows/studio.yml

Lines changed: 0 additions & 82 deletions
This file was deleted.

0 commit comments

Comments
 (0)