35 lines
570 B
YAML
35 lines
570 B
YAML
name: Node.js Install Test
|
|
|
|
on:
|
|
pull_request:
|
|
release:
|
|
types:
|
|
- created
|
|
|
|
env:
|
|
CI: true
|
|
|
|
jobs:
|
|
run:
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
node:
|
|
- "10.x"
|
|
- "12.x"
|
|
- "14.x"
|
|
os:
|
|
- "ubuntu-latest"
|
|
- "macos-latest"
|
|
- "windows-latest"
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js ${{ matrix.node }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
- run: npm ci
|