Skip to content

Commit

Permalink
Update the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Aug 31, 2024
1 parent 72567f4 commit 68c517a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,23 @@ 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:
cache: npm
node-version: 22
- 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: |
lix download
npm ci
npx playwright install --with-deps chromium
- name: Run tests
run: node --run test
env:
NODE_ENV: test
run: lix Test

0 comments on commit 68c517a

Please sign in to comment.