Skip to content

Commit 8d9dfef

Browse files
committed
update publish workflow
1 parent 889eec8 commit 8d9dfef

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/publish.yml

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
uses: actions/setup-node@master
1515
with:
1616
node-version: 14.0.0
17+
- run: npm install
18+
- run: npm run build --if-present
1719
- id: publish
1820
uses: JS-DevTools/npm-publish@v1
1921
with:

.npmignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
samples/
2+
tests/

0 commit comments

Comments
 (0)