Skip to content

Commit c838d38

Browse files
committed
publish
1 parent cb5790e commit c838d38

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/publish.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
11+
- uses: pnpm/action-setup@v2
12+
with:
13+
version: 8
14+
15+
- name: Build plugin
16+
run: |
17+
pnpm install
18+
pnpm run build
19+
20+
- name: Publish
21+
run: npm publish --access public
22+
env:
23+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
24+

0 commit comments

Comments
 (0)