ci(action): add test action
test / test (push) Successful in 1m45s

This commit is contained in:
2026-11-11 23:26:47 +03:00
parent 8787507db2
commit 999cc93ca9
3 changed files with 29 additions and 5 deletions
+26
View File
@@ -0,0 +1,26 @@
name: test
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- run: echo '' > requirements.txt
- uses: https://git.shmyga.ru/InfernalGames/project-manager@master
with:
setup-nodejs: true
- uses: actions/cache/restore@v6
id: cache-haxe
with:
key: ${{ runner.os }}-haxe-${{ hashFiles('**/haxetool.json') }}
path: ${{ env.HOME }}/sdk
- if: steps.cache-haxe.outputs.cache-hit != 'true'
run: npx hxt app:flash:setup
- if: steps.cache-haxe.outputs.cache-hit != 'true'
uses: actions/cache/save@v6
with:
key: ${{ steps.cache-haxe-restore.outputs.cache-primary-key }}
path: ${{ env.HOME }}/sdk
- run: pm lint -vv