Skip to content

Commit d2c768e

Browse files
committed
chore: add publish action
1 parent f0cd0d3 commit d2c768e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/publish.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
name: publish
6+
jobs:
7+
release-please:
8+
if: >
9+
github.event.head_commit.author.username == 'github-actions[bot]' && github.event.head_commit.author.email == '41898282+github-actions[bot]@users.noreply.github.com'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
13+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
14+
with:
15+
node-version: 24
16+
registry-url: 'https://registry.npmjs.org'
17+
- run: npm install
18+
- run: npm publish --access public

0 commit comments

Comments
 (0)