Skip to content

[SECURITY]: Bump astro and @astrojs/svelte #377

[SECURITY]: Bump astro and @astrojs/svelte

[SECURITY]: Bump astro and @astrojs/svelte #377

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [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: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Check build output
run: |
if [ ! -d "dist" ]; then
echo "Build failed: dist directory not found"
exit 1
fi
echo "Build successful!"
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Check for TypeScript errors
run: |
echo "Running TypeScript compiler check..."
npx tsc --noEmit
echo "TypeScript check passed successfully"
- name: Run ESLint
run: npm run lint
- name: Check Prettier formatting
run: npm run format:check