Skip to content

Commit febf9f8

Browse files
authored
ops: add new publish workflow (#19)
1 parent 44ab18b commit febf9f8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/publish.yml

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

0 commit comments

Comments
 (0)