Skip to content

Build(deps-dev): bump @types/node from 22.7.7 to 22.9.0 #1984

Build(deps-dev): bump @types/node from 22.7.7 to 22.9.0

Build(deps-dev): bump @types/node from 22.7.7 to 22.9.0 #1984

Workflow file for this run

# This file is part of IVRE.
# Copyright 2011 - 2024 Pierre LALET <pierre@droids-corp.org>
#
# IVRE 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.
#
# IVRE 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 IVRE. If not, see <http://www.gnu.org/licenses/>.
name: Linting tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: ['3.12']
node-version: ['20']
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Use Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: pip install codespell
- run: git ls-files | grep -vE '(^package-lock\.json|^doc/.*\.png)$' | xargs -r codespell
- run: npm install
- run: ./node_modules/prettier/bin/prettier.cjs --check main.ts
- run: ./node_modules/eslint/bin/eslint.js main.ts
- run: ./node_modules/typescript/bin/tsc -noEmit -skipLibCheck --target es2022 --moduleResolution node main.ts
- run: node esbuild.config.mjs production