Create npm-publish.yml

This commit is contained in:
Dave Horton
2020-12-13 16:24:02 -05:00
committed by GitHub
parent 4d6ef8e334
commit 1a29d48334

18
.github/workflows/npm-publish.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Node.js Package
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- run: npm test