Skip to content

Commit

Permalink
Use GitHub actions for CI (#108)
Browse files Browse the repository at this point in the history
* Create npm-publish.yml

* dont publish

Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
  • Loading branch information
koddsson and keithamus committed Feb 17, 2021
1 parent 368f4be commit 1855c8e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- run: npm ci
- run: npm test

0 comments on commit 1855c8e

Please sign in to comment.