Skip to content

Commit 3a83bbc

Browse files
committed
update workflows
1 parent 6252e11 commit 3a83bbc

6 files changed

Lines changed: 4 additions & 73 deletions

File tree

.github/workflows/build-samples.yml

Lines changed: 0 additions & 68 deletions
This file was deleted.
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
33

4-
name: Build-Common
4+
name: Build
55

66
on:
77
push:
88
branches:
99
- main
10-
paths:
11-
- Common/msal-node-wrapper/**
1210
pull_request:
1311
branches:
1412
- main
15-
paths:
16-
- Common/msal-node-wrapper/**
1713

1814
jobs:
1915
build:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ typings/
6464

6565
# Output of 'npm pack'
6666
*.tgz
67+
!msal-node-wrapper-1.0.0-beta.tgz
6768

6869
# Yarn Integrity file
6970
.yarn-integrity

3-Deployment/App/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ async function main() {
5353
app.use(express.static(path.join(__dirname, './public')));
5454

5555
try {
56+
// get the secret from key vault
5657
const clientSecret = await getCredentialFromKeyVault(process.env.KEY_VAULT_URI, process.env.SECRET_NAME);
5758

59+
// update the config object with secret
5860
const authConfigWithSecret = {
5961
...authConfig,
6062
auth: {
84.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)