combobox-nav/.github/workflows/nodejs.yml

29 строки
515 B
YAML

name: Node CI
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
env:
CI: true