Files
eslint-cofig/.gitea/workflows/build-on-tag.yml
Sebastian Brenner b3594bd0f7
Some checks failed
Build ESLint Config on Tag / build (push) Failing after 55s
change action trigger
2025-12-17 18:01:22 +01:00

42 lines
877 B
YAML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: Build ESLint Config on Tag
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
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
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Verify dist
run: |
if [ ! -d "dist" ]; then
echo "Build failed: dist/ directory not found"
exit 1
fi
# 6⃣ Optional: Archive dist as artifact
# Uncomment if you want to attach build output to the workflow run
# - name: Archive build
# uses: actions/upload-artifact@v3
# with:
# name: eslint-config-dist
# path: dist