Add a GitHub Workflow to validate JS bindings
This commit is contained in:
27
.github/workflows/validate-js.yml
vendored
Normal file
27
.github/workflows/validate-js.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: JavaScript
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build + Test
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup-js
|
||||
|
||||
- name: yarn build
|
||||
run: yarn build
|
||||
working-directory: javascript
|
||||
|
||||
- name: yarn test
|
||||
run: yarn test
|
||||
working-directory: javascript
|
Reference in New Issue
Block a user