Skip to content

Commit 2ce27ae

Browse files
authored
Merge pull request #20 from Turbo87/github
CI: Add "Release" workflow
2 parents c9eec41 + 9b6497e commit 2ce27ae

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
release:
10+
name: Release
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
- uses: actions/setup-node@v1
16+
with:
17+
node-version: 12.x
18+
registry-url: 'https://registry.npmjs.org'
19+
20+
- run: npm publish
21+
env:
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)