Skip to content

Commit

Permalink
chore: add publish github action
Browse files Browse the repository at this point in the history
  • Loading branch information
javierlopezdeancos committed Sep 16, 2021
1 parent 45717c1 commit 21401a3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: publish-laguagua-in-npm-on-release

on:
release:
types: [created]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit 21401a3

Please sign in to comment.