Files
starter-workflows/ci/node.js.yml
T

24 lines
382 B
YAML
Raw Normal View History

2019-07-29 09:38:23 -07:00
on: [push]
name: Node.js
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js 10.x
2019-08-02 10:30:20 -04:00
uses: actions/setup-node@v1
2019-07-29 09:38:23 -07:00
with:
version: 10.x
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test