Skip to content

Replace deprecated request with axios. #195

Replace deprecated request with axios.

Replace deprecated request with axios. #195

Workflow file for this run

name: build
on:
push:
# enable next line to limit branches to run
branches: [ "master" ]
pull_request:
# enable next line to limit branches to run
# branches: [ "master" ]
jobs:
build:
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
os: [windows-2022, ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
# not needed currently, but leaving here for future use
# - uses: actions/setup-python@v4
# with:
# python-version: '2.7.18'
- name: boost
if: startsWith(matrix.os,'ubuntu')
run: sudo apt-get update && sudo apt-get install -yq libboost-dev
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install
npm run build
- name: Package
run: |
npm run dist