Files
deltasprite/.github/workflows/main.yml
2025-07-20 17:14:52 +05:00

40 lines
700 B
YAML

name: sorting
on:
push:
branches: [ main ]
paths:
- '_sprites/**'
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: |
npx tsx write.ts
npx tsx sort.ts
- 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