test: triggering tests on changes and allow cancelling in-progress CI test jobs (#4743)

This commit is contained in:
Bowen Liang 2024-05-31 16:42:14 +08:00 • committed by GitHub
commit 6dd0e07af8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 1 deletions

View file

@ -4,6 +4,13 @@ on:
pull_request:
branches:
- main
paths:
- sdks/**
concurrency:
group: sdk-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
name: unit test for Node.js SDK