Skip to content

Commit

Permalink
Implement acquireAADTokenService, setCanDrill in MockIVisualHost (#123)
Browse files Browse the repository at this point in the history
* Implement `acquireAADTokenService`, `setCanDrill` in MockIVisualHost

* Update build.yml

* Fix build.yml, upgrade outdated npm packages

* Fix build.yml

Put `npm outdated` after installing packages, otherwise it always shows errors

* Fix build.yml

* Update mockIAcquireAADTokenService.ts - return empty string instead of undefined.
  • Loading branch information
adiletelf authored Jan 12, 2024
1 parent de36ea0 commit 33f2d38
Show file tree
Hide file tree
Showing 7 changed files with 3,235 additions and 1,614 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# This workflow will do a clean installation of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: build

on:
push:
branches: [main ]
branches: [ main ]
pull_request:
branches: [ main ]

Expand All @@ -16,16 +16,20 @@ jobs:

strategy:
matrix:
node-version: [14.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm audit
continue-on-error: true
- run: npm ci
- run: npm run lint
- run: npm outdated
continue-on-error: true
- run: npm run lint --if-present
- run: npm test
env:
CI: true
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## 6.0.2
* Packages update
* Vulnerabilities patched
* add mock `IAcquireAADTokenService` to `MockIVisualHost`
* add mock method `canDrill` to `MockIVisualHost`

## 6.0.1
* Packages update
Expand Down
Loading

0 comments on commit 33f2d38

Please sign in to comment.