25 строки
430 B
YAML
25 строки
430 B
YAML
name: Node CI
|
|
|
|
on: [push]
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js 12.x
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12.x
|
|
- name: npm install, build, and test
|
|
run: |
|
|
npm install
|
|
npm test
|
|
env:
|
|
CI: true
|