Compare commits

...
Author SHA1 Message Date
Arafatkatze 2e81f74111 fixing 2026-02-03 13:46:24 -08:00
Arafatkatze 0c09df2855 fixing 2026-02-03 13:38:43 -08:00
Arafatkatze 80a2dc99d4 fixing 2026-02-03 13:09:29 -08:00
Arafatkatze 3b3bfbf425 ci: add CLI dependency installation to test workflow
- Add cli/package-lock.json to npm cache dependency paths
- Add dedicated step to install CLI dependencies before running CLI tests
2026-02-03 13:09:29 -08:00
Arafatkatze 86ea252b56 chore: bump cli version to 2.0.2 and update dependencies
- Update CLI version from 2.0.1 to 2.0.2
- Update @types/node to 18.19.130
- Update minimatch to 10.1.2
- Update path-scurry to 2.0.1
- Remove unused dependencies (@asamuzakjp/css-color, @csstools/*, rrweb-cssom)
- Clean up peer dependency configurations
2026-02-03 13:09:29 -08:00
3 changed files with 375 additions and 1078 deletions
+48
View File
@@ -0,0 +1,48 @@
name: CLI Tests
on:
push:
branches:
- main
paths:
- 'cli/**'
- '.github/workflows/cli-tests.yml'
workflow_dispatch:
pull_request:
branches:
- main
paths:
- 'cli/**'
- '.github/workflows/cli-tests.yml'
# Set default permissions for all jobs
permissions:
contents: read
jobs:
cli-tests:
runs-on: ubuntu-latest
name: CLI Tests
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
cache-dependency-path: |
package-lock.json
cli/package-lock.json
- name: Install root dependencies
run: npm install
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install CLI dependencies
run: cd cli && npm install
- name: Run CLI Tests
run: cd cli && npm run test:run
-6
View File
@@ -32,7 +32,6 @@ jobs:
cache-dependency-path: |
package-lock.json
webview-ui/package-lock.json
cli/package-lock.json
- name: Install root dependencies
run: npm ci
@@ -116,11 +115,6 @@ jobs:
cd webview-ui
npm run test:coverage
- name: CLI Tests
id: cli_tests
if: ${{ !cancelled() && steps.build_step.outcome == 'success' }}
run: cd cli && npm run test:run
- name: Save Coverage Reports
uses: actions/upload-artifact@v4
# Only upload artifacts on Linux - We only need coverage from one OS
+327 -1072
View File
File diff suppressed because it is too large Load Diff