Skip to content

Commit 3f208f0

Browse files
committed
add workflow to run on push
1 parent 92b4736 commit 3f208f0

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/build.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Run build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: actions/setup-node@v1
11+
with:
12+
node-version: 10
13+
- run: npm lint
14+
- run: npm test
15+
- run: npm build
16+
17+

.github/workflows/npmpublish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Node.js Package
1+
name: Publish to NPM
22

33
on:
44
release:

0 commit comments

Comments
 (0)