Files
Dabur_StoreDNA1/.gitea/workflows/test.yml
T
Gitea 02a7a6c2f6
Node CI Pipeline / build (push) Failing after 48s
first
2026-04-20 17:03:24 +05:30

48 lines
818 B
YAML

name: Node CI Pipeline
on:
push:
branches:
- main
- master
- develop
pull_request:
branches:
- main
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout code
- name: Checkout
uses: actions/checkout@v4
# Setup Node.js
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
# Diagnostics
- name: Diagnostics
run: |
set -e
node -v
npm -v
pwd
# Install dependencies
- name: Install dependencies
run: npm ci
# Lint
- name: ESLint
run: npm run lint
# Optional Test (uncomment if needed)
# - name: Jest Tests
# run: npm test -- --ci --coverage