Create nodejs.yml

trying to get automatic builds going
This commit is contained in:
Austin Tinius 2020-05-19 00:32:18 -07:00 committed by GitHub
parent 5979ef82cb
commit e6ac843066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

28
.github/workflows/nodejs.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Node.js CI
on:
push:
branches: [ development ]
pull_request:
branches: [ developemnt ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [10.x, 12.x]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run compile
- run: npm run package