Skip to content

chore(deps-dev): bump typescript-eslint from 8.61.1 to 8.62.0 #216

chore(deps-dev): bump typescript-eslint from 8.61.1 to 8.62.0

chore(deps-dev): bump typescript-eslint from 8.61.1 to 8.62.0 #216

Workflow file for this run

name: CI
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
on:
push:
branches: [ "main" ]
paths-ignore:
- '**.md'
- 'graphics/**'
- 'docs/**'
- 'LICENSE'
pull_request:
branches: [ "main" ]
paths-ignore:
- '**.md'
- 'graphics/**'
- 'docs/**'
- 'LICENSE'
jobs:
lint-ts:
name: Lint TypeScript
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
- name: Setup Node.js
uses: actions/setup-node@v6.4.0
with:
node-version: '24'
cache: 'npm'
- name: Cache Node.js modules
id: cache-node
uses: actions/cache@v6
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
- name: Install Node dependencies
if: steps.cache-node.outputs.cache-hit != 'true'
run: npm ci
- name: Run TypeScript Linter
run: npm run lint
- name: Run TypeScript Type Check
run: npm run check-types
lint-python:
name: Lint Python
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v6.2.0
with:
python-version: '3.14'
cache: 'pip'
- name: Cache Python Virtual Environment
id: cache-python
uses: actions/cache@v6
with:
path: .venv
key: ${{ runner.os }}-python-${{ hashFiles('pyproject.toml') }}
- name: Install Python dependencies
if: steps.cache-python.outputs.cache-hit != 'true'
run: |
python -m venv .venv
.venv/bin/python -m pip install --upgrade pip
.venv/bin/pip install ".[dev]"
- name: Run Python Ruff Linter
run: .venv/bin/ruff check .
- name: Run Python Ruff Formatter Check
run: .venv/bin/ruff format --check .
build:
name: Build VSIX
runs-on: ubuntu-latest
needs: [lint-ts, lint-python]
steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
with:
submodules: recursive
- name: Setup Node.js
uses: actions/setup-node@v6.4.0
with:
node-version: '24'
cache: 'npm'
- name: Cache Node.js modules
id: cache-node
uses: actions/cache@v6
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
- name: Install Node dependencies
if: steps.cache-node.outputs.cache-hit != 'true'
run: npm ci
- name: Setup Python
uses: actions/setup-python@v6.2.0
with:
python-version: '3.14'
cache: 'pip'
- name: Cache Python Virtual Environment
id: cache-python
uses: actions/cache@v6
with:
path: .venv
key: ${{ runner.os }}-python-${{ hashFiles('pyproject.toml') }}
- name: Install Python dependencies
if: steps.cache-python.outputs.cache-hit != 'true'
run: |
python -m venv .venv
.venv/bin/python -m pip install --upgrade pip
.venv/bin/pip install ".[dev]"
- name: Inject Commit Hash into Version
run: |
SHORT_SHA=$(git rev-parse --short HEAD)
jq ".version += \"-$SHORT_SHA\"" package.json > package.json.tmp && mv package.json.tmp package.json
- name: Package VSIX
run: npm run package:vsix
- name: Upload VSIX Artifact
uses: actions/upload-artifact@v7.0.1
with:
name: tkvsc-vsix
path: "out/*.vsix"