From 50abf3c78959b15a61f10c5232a7fdf43e2ae7ba Mon Sep 17 00:00:00 2001 From: Josh Tynjala Date: Mon, 2 Oct 2023 14:55:54 -0700 Subject: [PATCH] actions: build npm samples --- .github/workflows/main.yml | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c04cf730..bc902d5e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,4 +92,34 @@ jobs: haxelib run lime build html5 haxelib run lime build neko haxelib run lime build hl - haxelib run lime build flash \ No newline at end of file + haxelib run lime build flash + + - name: Build samples/demo_npm/as3 + working-directory: samples/demo_npm/as3 + run: | + npm install + npm run build + + - name: Build samples/demo_npm/es5 + working-directory: samples/demo_npm/es5 + run: | + npm install + npm run build + + - name: Build samples/demo_npm/es6 + working-directory: samples/demo_npm/es6 + run: | + npm install + npm run build + + - name: Build samples/demo_npm/haxe + working-directory: samples/demo_npm/haxe + run: | + npm install + npm run build + + - name: Build samples/demo_npm/typescript + working-directory: samples/demo_npm/typescript + run: | + npm install + npm run build \ No newline at end of file