49 lines
2.2 KiB
YAML
49 lines
2.2 KiB
YAML
# **************************************************************************
|
|
# * (C)opyright 2026 by Ruben Carlo Benante *
|
|
# * *
|
|
# * This program is free software; you can redistribute it and/or modify *
|
|
# * it under the terms of the GNU General Public License as published by *
|
|
# * the Free Software Foundation, either version 3 of the License, or *
|
|
# * (at your option) any later version. *
|
|
# * *
|
|
# * This program is distributed in the hope that it will be useful, *
|
|
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
# * GNU General Public License for more details. *
|
|
# * *
|
|
# * You should have received a copy of the GNU General Public License *
|
|
# * along with this program. If not, see http://www.gnu.org/licenses/. *
|
|
# * *
|
|
# * Contact author at: *
|
|
# * Ruben Carlo Benante *
|
|
# * rcb@beco.cc *
|
|
# **************************************************************************
|
|
|
|
name: Zettelclean CI
|
|
|
|
on:
|
|
push:
|
|
branches: ['**']
|
|
pull_request:
|
|
branches: ['**']
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: slackware-15
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [20.x, 22.x, 24.x]
|
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'npm'
|
|
- run: npm ci
|
|
- run: npm run build --if-present
|
|
- run: npm run lint
|