summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ports_javascript.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/ports_javascript.yml b/.github/workflows/ports_javascript.yml
new file mode 100644
index 000000000..244dc966a
--- /dev/null
+++ b/.github/workflows/ports_javascript.yml
@@ -0,0 +1,24 @@
+name: javascript port
+
+on:
+ push:
+ pull_request:
+ paths:
+ - '.github/workflows/*.yml'
+ - 'tools/**'
+ - 'py/**'
+ - 'extmod/**'
+ - 'lib/**'
+ - 'ports/javascript/**'
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Install packages
+ run: source tools/ci.sh && ci_javascript_setup
+ - name: Build
+ run: source tools/ci.sh && ci_javascript_build
+ - name: Run tests
+ run: source tools/ci.sh && ci_javascript_run_tests