[ci] fix tests with node 18 #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |