Migrate SharedCode consumers to Gitea packages
Docker / Docker Build & Push (push) Failing after 48s
Lint / Lint (push) Successful in 14s
Tests / Go backend (push) Failing after 15s
Tests / Dashboard checks (push) Successful in 17s

This commit is contained in:
Gabriel20xx committed 2026-08-06 12:22:44 +02:00
1 parent a988fdee44
commit d4dce959f9
6 files changed
+3675 -3709

No files matched your search

+5 -16
View File
@@ -18,6 +18,9 @@ on:
- '.github/workflows/lint.yml'
workflow_dispatch: {}
env:
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_REGISTRY_TOKEN }}
jobs:
lint:
name: Lint
@@ -33,25 +36,11 @@ jobs:
uses: actions/checkout@v4
with:
submodules: false
- name: Checkout latest SharedCode
working-directory: ${{ github.workspace }}
run: |
for attempt in 1 2 3 4 5; do
rm -rf SharedCode
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/shared SharedCode; then
break
fi
if [ "$attempt" -eq 5 ]; then
exit 1
fi
delay=$((attempt * 5))
echo "SharedCode clone failed (attempt ${attempt}/5); retrying in ${delay}s..." >&2
sleep "$delay"
done
- name: Setup Node.js
uses: actions/setup-node@v4
with:
registry-url: https://repos.gfranz.ch/api/packages/Gabriel20xx/npm/
scope: '@gabriel20xx'
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json