Refactor github actions tests (#688)
This commit is contained in:
16
.github/workflows/test-nodejs.yaml
vendored
16
.github/workflows/test-nodejs.yaml
vendored
@@ -4,10 +4,26 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/test-nodejs.yaml'
|
||||
- 'CMakeLists.txt'
|
||||
- 'cmake/**'
|
||||
- 'sherpa-onnx/csrc/*'
|
||||
- 'sherpa-onnx/c-api/*'
|
||||
- 'scripts/nodejs/**'
|
||||
- 'nodejs-examples/**'
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/test-nodejs.yaml'
|
||||
- 'CMakeLists.txt'
|
||||
- 'cmake/**'
|
||||
- 'sherpa-onnx/csrc/*'
|
||||
- 'sherpa-onnx/c-api/*'
|
||||
- 'scripts/nodejs/**'
|
||||
- 'nodejs-examples/**'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user