From 1855c8eef3edebd5f7b8db81c474172fb270b6b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Wed, 17 Feb 2021 11:33:18 +0000 Subject: [PATCH] Use GitHub actions for CI (#108) * Create npm-publish.yml * dont publish Co-authored-by: Keith Cirkel --- .github/workflows/npm-publish.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml new file mode 100644 index 0000000..74dfc8d --- /dev/null +++ b/.github/workflows/npm-publish.yml @@ -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