Skip to content

Commit

Permalink
add files to npmignore, fix npmpublish workflow (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
rugglcon authored Nov 26, 2019
1 parent 76eeb1c commit 18854e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Node.js Package

on: release
on:
release:
types: [created]

jobs:
build:
Expand All @@ -11,6 +13,7 @@ jobs:
with:
node-version: 12
- run: npm ci
- run: npm run build
- run: npm test

publish-npm:
Expand Down
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src/
deploy.sh
__tests__/
.github/
.travis.yml

0 comments on commit 18854e2

Please sign in to comment.