From 916594df09bcc681451fff999a0e2d0c3c53c9c0 Mon Sep 17 00:00:00 2001 From: snus xD Date: Sat, 16 Aug 2025 21:50:59 +0300 Subject: [PATCH] vibecode shit --- .github/workflows/main.yml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 944e2f9..45c5604 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,44 +12,41 @@ permissions: jobs: run-scripts: runs-on: ubuntu-latest - + steps: - name: checkout uses: actions/checkout@v4 - + - name: setup uses: actions/setup-node@v4 with: node-version: '20' - + - name: requirments run: npm ci - + - name: scripts working-directory: ./scripts run: | + rm -rf ../_sprites/unready npx tsx write.ts npx tsx sort.ts - rm -rf ../_sprites/unready npx tsx unready.ts - + - name: commit changes run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" - git add ./_sprites/unready - git commit -m "updated unready list" || exit 0 - git add ./scripts/data.json - git commit -m "updated data" || exit 0 + git add -A . + git commit -m "auto: update sprites and data" || exit 0 git push - + - name: upload uses: actions/upload-artifact@v4 with: name: sorted path: ./_sprites/sorted retention-days: 15 - + - name: remove temp sorted folder run: rm -rf ./_sprites/sorted -