github/workflows: Add workflow to build and test javascript port.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2021-06-24 10:09:57 +10:00
parent c13853f4da
commit 2dc4f843bc
2 changed files with 42 additions and 0 deletions

24
.github/workflows/ports_javascript.yml vendored Normal file
View File

@@ -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