Remove GitHub Actions workflows

This commit is contained in:
Hendrik Garske 2026-06-04 22:16:22 +02:00
parent ee403ebb14
commit 8e28a654bc
3 changed files with 0 additions and 96 deletions

View file

@ -1,22 +0,0 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ci:
runs-on: [self-hosted, Linux, X64, docker]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
- run: npm ci --no-audit --no-fund
- run: npm run build
- run: npm test --if-present

View file

@ -1,47 +0,0 @@
name: Release Build
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
build:
runs-on: [self-hosted, Linux, X64, docker]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
- name: Install deps
run: npm ci --no-audit --no-fund
- name: Build Next.js
run: npm run build
- name: Package .next/
run: |
TAG="${GITHUB_REF_NAME}"
tar -czf "nexredirect-next-${TAG}.tar.gz" .next
ls -lh "nexredirect-next-${TAG}.tar.gz"
- name: Compute SHA256
run: |
TAG="${GITHUB_REF_NAME}"
sha256sum "nexredirect-next-${TAG}.tar.gz" > "nexredirect-checksums-${TAG}.txt"
cat "nexredirect-checksums-${TAG}.txt"
- name: Attach to release
uses: softprops/action-gh-release@v2
with:
files: |
nexredirect-next-*.tar.gz
nexredirect-checksums-*.txt
tag_name: ${{ github.ref_name }}
fail_on_unmatched_files: true

View file

@ -1,27 +0,0 @@
name: Security Scan
on:
push:
branches: [main]
pull_request:
branches: ["**"]
permissions:
contents: read
jobs:
audit:
name: npm Audit
runs-on: [self-hosted, Linux, X64, docker]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
- run: npm ci --no-audit --no-fund
- run: npm audit --audit-level=high
continue-on-error: true