Skip to content

add test, and refactor the smart importer/channel wizard to make this… #94

add test, and refactor the smart importer/channel wizard to make this…

add test, and refactor the smart importer/channel wizard to make this… #94

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Audit dependencies
run: npm audit
continue-on-error: true
- name: Run unit tests
run: npm test -- --run
- name: Run TypeScript type check and build
run: npm run build
env:
VITE_COMMIT_HASH: ${{ github.sha }}
- name: Check for build artifacts
run: |
if [ ! -d "dist" ]; then
echo "Build failed: dist directory not found"
exit 1
fi
echo "Build successful: dist directory created"