Merge branch 'main' of https://github.com/snusxd/deltasprite
This commit is contained in:
35
.github/workflows/main.yml
vendored
Normal file
35
.github/workflows/main.yml
vendored
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
name: sorting
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run-scripts:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: setup node
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: requirments
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: scripts
|
||||||
|
run: |
|
||||||
|
cd scripts
|
||||||
|
npx tsx write.ts
|
||||||
|
npx tsx sort.ts
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
- name: upload zip
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: sort-archive-${{ github.sha }}
|
||||||
|
path: ./sort.zip
|
||||||
|
retention-days: 30
|
||||||
Reference in New Issue
Block a user