Skip to content

Commit 6e2b8b4

Browse files
committed
add release package github action
1 parent a723810 commit 6e2b8b4

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed
File renamed without changes.

.github/workflows/release.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Release package
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions/setup-node@v1
11+
with:
12+
node-version: '14.x'
13+
registry-url: 'https://registry.npmjs.org'
14+
- run: npm install
15+
- run: npm publish
16+
env:
17+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)