mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2026-05-04 02:03:07 +02:00
Move the author update script from Kotlin to TypeScript, including tests. Changes: - Create scripts-ts/src/updateAuthors.ts - Create scripts-ts/src/updateAuthors.test.ts with vitest - Add vitest to package.json - Create scriptsTests.yml workflow for running tests - Update updateAuthors.yml workflow to use Node.js - Remove Kotlin implementation and test - Remove unused github-api dependency 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
35 lines
623 B
YAML
35 lines
623 B
YAML
# Runs tests for TypeScript scripts in scripts-ts/
|
|
|
|
name: Scripts Tests
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [ master ]
|
|
paths:
|
|
- 'scripts-ts/**'
|
|
pull_request:
|
|
branches: [ master ]
|
|
paths:
|
|
- 'scripts-ts/**'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20'
|
|
|
|
- name: Install dependencies
|
|
run: npm install
|
|
working-directory: scripts-ts
|
|
|
|
- name: Run tests
|
|
run: npm test
|
|
working-directory: scripts-ts
|