mirror of
https://github.com/Choices-js/Choices.git
synced 2024-04-26 03:10:33 +02:00
Add build and test stage
This commit is contained in:
parent
bbeb556a48
commit
7022c238fd
11
.github/workflows/npmpublish.yml
vendored
11
.github/workflows/npmpublish.yml
vendored
|
@ -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
|
||||
|
@ -20,6 +30,7 @@ jobs:
|
|||
- run: npm run bundlesize
|
||||
- run: npm run lint
|
||||
- run: npm test
|
||||
- run: npm build
|
||||
|
||||
publish-npm:
|
||||
needs: build
|
||||
|
|
Loading…
Reference in a new issue