24 lines
421 B
YAML
24 lines
421 B
YAML
name: Node CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- refs/pull/*
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [10, 12]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- run: yarn install
|
|
- run: yarn lint
|
|
- run: yarn build
|
|
- run: yarn test
|