-
Notifications
You must be signed in to change notification settings - Fork 736
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adding individual workflows to be triggered on subdir changes
- Loading branch information
Govinda Raju
committed
Aug 13, 2020
1 parent
cbc2634
commit c5eb69f
Showing
2 changed files
with
48 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Unit Tests on ask-sdk-controls | ||
|
||
on: | ||
push: | ||
branches: | ||
- 2.0.x | ||
paths: | ||
- 'ask-sdk-controls/**' | ||
pull_request: | ||
branches: | ||
- 2.0.x | ||
paths: | ||
- 'ask-sdk-controls/**' | ||
|
||
defaults: | ||
run: | ||
working-directory: ask-sdk-controls | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
node: [10, 12] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- run: npm install | ||
- run: npm run lint | ||
- run: npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters