Skip to content

deps: bump next from 14.2.18 to 15.0.3 in /docs #3009

deps: bump next from 14.2.18 to 15.0.3 in /docs

deps: bump next from 14.2.18 to 15.0.3 in /docs #3009

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
node-version: [21.x, 22.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Libraries (Linux)
run: sudo apt update && sudo apt install build-essential librsvg2-dev libgif-dev giflib-tools libcurl4 libcurl4-gnutls-dev libgtk-3-dev libpango1.0-dev libpng-dev libpng++-dev libpng-tools libjpeg-tools libjpeg-progs libjpeg-dev -y
if: matrix.os == 'ubuntu-latest'
- name: Install Libraries and Tools (macOS)
run: brew install curl pkg-config cairo pango libpng jpeg giflib librsvg
if: matrix.os == 'macos-latest'
- name: "Install Native Libraries"
run: |
git clone https://github.com/Cogmasters/concord;
cd concord;
make;
sudo make install;
cd ..;
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
- name: "Install Dependencies"
run: npm install -D
- name: "ESLint"
run: npm run lint -- --max-warnings=0
- name: "Build (TypeScript)"
run: npm run build --if-present
- name: "Build (Native)"
run: make
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
- name: "Test"
run: npx vitest run --coverage
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: onesoft-sudo/sudobot
blazebuild:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v4
- name: Install tools on macOS
run: brew install curl pkg-config cairo pango libpng jpeg giflib librsvg
if: matrix.os == 'macos-latest'
- name: Build with BlazeBuild
run: ./blazew build