Skip to content

Commit 0a6a230

Browse files
authored
Create publish.yml
1 parent a86a14b commit 0a6a230

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/publish.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "🚀 Publish"
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: checkout
12+
uses: actions/checkout@v3
13+
- name: node
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version: 16
17+
registry-url: https://registry.npmjs.org
18+
- name: 🚀 Publish
19+
run: yarn publish --access public
20+
env:
21+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)