Skip to content

Commit 12b82da

Browse files
committed
move to nonblocking workflow
1 parent 3617435 commit 12b82da

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
- run: npm run check
2626
- run: npm run build
2727
- run: npm test
28-
- run: npx pkg-pr-new publish
2928

3029
publish:
3130
runs-on: ubuntu-latest

.github/workflows/publish.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish Any Commit
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- '**'
7+
tags:
8+
- '!**'
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 24
19+
cache: npm
20+
21+
- name: Build
22+
run: npm run build
23+
- name: Publish
24+
run: npx pkg-pr-new publish

0 commit comments

Comments
 (0)