From 18854e25c170e3b20915dfdc7545ed986753e50e Mon Sep 17 00:00:00 2001 From: Connor Ruggles Date: Mon, 25 Nov 2019 21:38:41 -0600 Subject: [PATCH] add files to npmignore, fix npmpublish workflow (#8) --- .github/workflows/npmpublish.yml | 5 ++++- .npmignore | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 0f0dca9..be9f4b5 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -1,6 +1,8 @@ name: Node.js Package -on: release +on: + release: + types: [created] jobs: build: @@ -11,6 +13,7 @@ jobs: with: node-version: 12 - run: npm ci + - run: npm run build - run: npm test publish-npm: diff --git a/.npmignore b/.npmignore index 154d556..2e4f729 100644 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,5 @@ src/ deploy.sh __tests__/ +.github/ +.travis.yml