Skip to content

spread-objects-operation #66

spread-objects-operation

spread-objects-operation #66

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
node: [16]
os: [ubuntu-22.04]
include:
- node: 16
os: macos-12
runs-on: ${{ matrix.os }}
steps:
- name: Install node-gyp deps
run: |
if [ "${{ matrix.os }}" == "ubuntu-22.04" ]; then
sudo apt-get install -y autoconf make libtool automake
else
brew install autoconf automake libtool
fi
python --version
python -m pip install packaging setuptools
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test