Skip to content

Node Cross-platform CI #1499

Node Cross-platform CI

Node Cross-platform CI #1499

Workflow file for this run

name: Node Cross-platform CI
on:
pull_request:
push:
# filtering branches here prevents duplicate builds from pull_request and push
branches:
- master
# early issue detection: run CI weekly on Sundays
schedule:
- cron: '0 6 * * 0'
env:
CI: true
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
node-version: [12.x, 14.x]
steps:
- uses: actions/checkout@v4
- name: Use Node ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: yarn install and test
run: |
yarn install
yarn test