mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
35 lines
546 B
YAML
35 lines
546 B
YAML
name: Node CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Use Node.js 14.x
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 14.x
|
|
|
|
- name: install
|
|
run: |
|
|
npm install
|
|
|
|
- name: lint
|
|
run: |
|
|
npm run lint
|
|
|
|
- name: build
|
|
run: |
|
|
npm run build
|
|
npm test
|
|
|
|
- name: test
|
|
run: |
|
|
npm test
|
|
|
|
- name: coverage
|
|
run: |
|
|
npm run coverage
|