Skip to content

Commit

Permalink
Use GitHub Actions for npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Nov 22, 2019
1 parent 9f78d56 commit d51a600
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release

on:
push:
tags:
- '*'

jobs:
release:
name: Release
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12.x

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit d51a600

Please sign in to comment.