From cdec3ddcd0dd6866e373691993514b24a549005f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Belin?= Date: Fri, 30 Aug 2024 18:46:42 +0200 Subject: [PATCH] Update the CI --- .github/workflows/ci.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9777a52..31e98ec 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,6 +7,8 @@ jobs: steps: - name: Fetch sources uses: actions/checkout@v4 + - name: Set up Lix + uses: lix-pm/setup-lix@master - name: Set up Node.js uses: actions/setup-node@v4 with: @@ -18,9 +20,15 @@ jobs: coverage: none extensions: curl, intl, mbstring, simplexml php-version: 8.3 + - name: Cache dependencies + uses: actions/cache@v4 + with: + path: ~/haxe + key: haxe-${{runner.os}}-lix-${{hashFiles('.haxerc', 'haxe_libraries/*.hxml')}} + restore-keys: haxe-${{runner.os}}-lix- - name: Install dependencies - run: npm ci + run: | + lix download + npm ci - name: Run tests - run: node --run test - env: - NODE_ENV: test + run: haxe test.hxml