Files
Emil_Shanayev_Resume/.github/workflows/ci.yml
T
2026-04-30 04:16:29 +03:00

32 lines
579 B
YAML

on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Verify output exists
run: |
if [ ! -d "out" ]; then
echo "out/ not found"
exit 1
fi