Skip to content

[ci] fix tests with node 18 #14

[ci] fix tests with node 18

[ci] fix tests with node 18 #14

Workflow file for this run

name: Tests
on: [push, repository_dispatch]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
haxe: [4.3.2, latest]
steps:
- uses: actions/checkout@v1
- name: Setup haxe ${{ matrix.haxe }}
uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{ matrix.haxe }}
- name: Install libs
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
haxelib newrepo
haxelib install munit
haxelib install hxnodejs
haxelib git tink_hxx [email protected]:kLabz/tink_hxx.git
haxelib git tink_anon [email protected]:haxetink/tink_anon.git
- name: Run tests
run: |
haxelib run munit test -js
- name: "[Samples] SSR sample : react-next docs website"
run: |
cd samples/docs
make setup
make server
make static
- name: "[Samples] TODO App"
run: |
cd samples/todoapp
haxelib newrepo
haxelib dev react-next ../..
haxelib install --skip-dependencies --always install.hxml
haxe build.hxml