Skip to content

fix: jest 버전, ESLint 통일, setup.yml 오타, private 추가 #8

fix: jest 버전, ESLint 통일, setup.yml 오타, private 추가

fix: jest 버전, ESLint 통일, setup.yml 오타, private 추가 #8

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_call:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Security audit
run: npm audit --audit-level=high
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: Package verification
run: |
npx vsce package --no-dependencies
VSIX=$(ls *.vsix)
SIZE=$(stat -c%s "$VSIX" 2>/dev/null || stat -f%z "$VSIX")
echo "Package: $VSIX ($((SIZE / 1024)) KB)"
rm -f "$VSIX"