Skip to content

Build

Build #280

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight UTC
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x] # Updated Node.js versions
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3 # Updated to latest version
with:
submodules: recursive
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3 # Updated to latest version
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
sudo -E apt-get update
sudo -E apt-get -yq --no-install-suggests --no-install-recommends install g++-9
npm install
- name: Execute CI
run: |
npm run ci