forked from Azure/azure-sdk-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from MJoshuaB/main
Update working-main
- Loading branch information
Showing
367 changed files
with
456,699 additions
and
9,863 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
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
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,57 @@ | ||
name: tsp-client - Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
paths: | ||
- .github/workflows/tsp-client-tests.yml | ||
- tools/tsp-client/** | ||
|
||
jobs: | ||
tsp-client: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
node-version: [18, 20] | ||
exclude: | ||
- os: ubuntu-latest | ||
node-version: 20 | ||
- os: windows-latest | ||
node-version: 18 | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- if: runner.os == 'Windows' | ||
run: git config --global core.longpaths true | ||
shell: pwsh | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
sparse-checkout: | | ||
.github/workflows | ||
tools/tsp-client | ||
- name: Use Node ${{ matrix.node-version }}.x | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }}.x | ||
|
||
- run: npm ci | ||
shell: pwsh | ||
working-directory: tools/tsp-client | ||
|
||
- run: npm ls -a | ||
shell: pwsh | ||
continue-on-error: true | ||
working-directory: tools/tsp-client | ||
|
||
- run: npm run build | ||
shell: pwsh | ||
working-directory: tools/tsp-client | ||
|
||
- run: npm run test | ||
shell: pwsh | ||
working-directory: tools/tsp-client |
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
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
Oops, something went wrong.