deps(dev): bump eslint-config-next from 14.2.17 to 15.0.3 in /docs #2987
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |