forked from massive-oss/haxe-react
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
50 additions
and
28 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
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: | | ||
haxelib newrepo | ||
haxelib install munit | ||
haxelib install hxnodejs | ||
haxelib git tink_hxx https://github.com/kLabz/tink_hxx.git | ||
haxelib git tink_anon https://github.com/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 | ||
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,9 @@ setup: | |
npm i | ||
|
||
server: | ||
haxe build.hxml | ||
|
||
start-server: | ||
node bin/server.js | ||
|
||
static: | ||
|