# ************************************************************************** # * (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 }} # Node ships corepack, which selects the pnpm version pinned in # package.json ("packageManager"). If this self-hosted runner has no # Node, drop the setup-node step above and rely on a preinstalled Node. - run: corepack enable - run: pnpm install --frozen-lockfile - run: pnpm run build - run: pnpm run lint - run: pnpm test