Skip to content

minor output tweak

minor output tweak #5

Workflow file for this run

name: Build
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build TypeScript
run: npm run build
- name: Check if build outputs exist
run: |
test -f dist/index.js || (echo "dist/index.js not found" && exit 1)
test -f dist/vi-editor.js || (echo "dist/vi-editor.js not found" && exit 1)
test -f dist/example-files.js || (echo "dist/example-files.js not found" && exit 1)
test -f dist/index.d.ts || (echo "dist/index.d.ts not found" && exit 1)
echo "All build outputs present!"