Skip to content

Commit b9c5afc

Browse files
committed
ci: adapt file
1 parent f429fdc commit b9c5afc

File tree

2 files changed

+43
-27
lines changed

2 files changed

+43
-27
lines changed

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

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Publish Any Commit
2+
3+
on:
4+
pull_request:
5+
branches: main
6+
paths-ignore:
7+
- 'docs/**'
8+
- 'playground/**'
9+
- 'examples/**'
10+
11+
push:
12+
branches:
13+
- '**'
14+
tags:
15+
- '!**'
16+
paths-ignore:
17+
- 'docs/**'
18+
- 'playground/**'
19+
- 'examples/**'
20+
21+
jobs:
22+
build:
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
30+
- uses: pnpm/action-setup@v4
31+
- uses: actions/setup-node@v4
32+
with:
33+
node-version: lts/*
34+
cache: pnpm
35+
36+
- name: Install
37+
run: pnpm install --frozen-lockfile
38+
39+
- name: Build
40+
run: pnpm build
41+
42+
- name: Release
43+
run: pnpm dlx pkg-pr-new publish --compact --pnpm .

.github/workflows/release-pr.yml

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

0 commit comments

Comments
 (0)