Create publish_on_release.yml

This commit is contained in:
Brian Towles
2021-08-15 21:50:17 -05:00
committed by GitHub
parent 0b9628575a
commit 90a36b4423

View File

@@ -0,0 +1,15 @@
name: Publish Node.js Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v2
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install