Skip to content

Commit 3ba76c9

Browse files
committed
ci: publish any commit
1 parent c755755 commit 3ba76c9

3 files changed

Lines changed: 28 additions & 38 deletions

File tree

.codesandbox/tasks.json

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

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish Any Commit
2+
on: [push, pull_request]
3+
4+
permissions: {}
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v4
13+
14+
- run: corepack enable
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: 20
18+
cache: pnpm
19+
20+
- name: Install dependencies
21+
run: pnpm install
22+
23+
- name: Build
24+
run: pnpm build
25+
26+
- run: pnpm dlx pkg-pr-new publish

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
## Install
1414

15+
[![pkg.pr.new](https://pkg.pr.new/badge/hyoban/tailwindcss-icons)](https://pkg.pr.new/~hyoban/tailwindcss-icons)
16+
1517
```sh
1618
npm i @egoist/tailwindcss-icons -D
1719
```

0 commit comments

Comments
 (0)