remote-jobs/.github/workflows/ci.yml

26 lines
408 B
YAML

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
- name: Install dependencies
run: npm install
- name: Run validation
run: npm run validate
- name: Run tests
run: npm test