Skip to content

Merge branch 'main' of https://github.com/TKVSC-Team/totk-vscode #69

Merge branch 'main' of https://github.com/TKVSC-Team/totk-vscode

Merge branch 'main' of https://github.com/TKVSC-Team/totk-vscode #69

Workflow file for this run

name: CI
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-test:
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: '20'
cache: 'npm'
- name: Setup Python
uses: actions/setup-python@v6.2.0
with:
python-version: '3.12'
cache: 'pip'
- name: Install Node dependencies
run: npm ci
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install ".[dev]"
- name: Run TypeScript Linter
run: npm run lint
- name: Run TypeScript Type Check
run: npm run check-types
- name: Run Python Ruff Linter
run: ruff check .
- name: Run Python Ruff Formatter Check
run: ruff format --check .
- name: Run Extension Tests
run: xvfb-run -a npm test
- name: Package VSIX
run: npm run package:vsix
- name: Upload VSIX Artifact
uses: actions/upload-artifact@v7.0.1
with:
name: totk-vscode-extension
path: "*.vsix"