Skip to content

Commit

Permalink
Add build and test stage
Browse files Browse the repository at this point in the history
  • Loading branch information
jshjohnson committed Oct 15, 2019
1 parent bbeb556 commit 7022c23
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ on:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
- run: npm ci
- run: npm build

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -20,6 +30,7 @@ jobs:
- run: npm run bundlesize
- run: npm run lint
- run: npm test
- run: npm build

publish-npm:
needs: build
Expand Down

0 comments on commit 7022c23

Please sign in to comment.