diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 000000000..2284b9357 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,31 @@ +# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs + +name: Node.js CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x, 20.x, 22.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + - run: npm run build --if-present + - run: npm test diff --git a/scripts/spo-add-list-template-with-custom-library/README.md b/scripts/spo-add-list-template-with-custom-library/README.md index 2eba9eea3..f94441237 100644 --- a/scripts/spo-add-list-template-with-custom-library/README.md +++ b/scripts/spo-add-list-template-with-custom-library/README.md @@ -17,7 +17,7 @@ More about list template Import-Module Microsoft.Online.SharePoint.PowerShell ###### Declare and Initialize Variables ###### #SharePoint Admin site -$adminSiteUrl = "https://-admin.sharepoint.com" +$adminSiteUrl = "https://blkbridge-admin.sharepoint.com" #Destination site collection url $url="https://.sharepoint.com/sites/sitename" diff --git a/scripts/spo-add-multiple-document-libraries-with-list-template/README.md b/scripts/spo-add-multiple-document-libraries-with-list-template/README.md index 75873c975..a08c6cbad 100644 --- a/scripts/spo-add-multiple-document-libraries-with-list-template/README.md +++ b/scripts/spo-add-multiple-document-libraries-with-list-template/README.md @@ -15,7 +15,7 @@ More about list template [CmdletBinding()] Param( [Parameter(Mandatory=$false, Position=0)] - [String]$adminSiteUrl = "https://-admin.sharepoint.com", + [String]$adminSiteUrl = "https://blkbridge-admin.sharepoint.com", [Parameter(Mandatory=$false, Position=1)] [String]$siteUrl = "https://.sharepoint.com/sites/investment", [Parameter(Mandatory=$false, Position=2)] diff --git a/scripts/spo-set-home-site/README.md b/scripts/spo-set-home-site/README.md index 693844979..ba742b59a 100644 --- a/scripts/spo-set-home-site/README.md +++ b/scripts/spo-set-home-site/README.md @@ -15,7 +15,7 @@ Scenario inspired from this blog post: [Set up a home site in SharePoint Online] ```powershell # SharePoint tenant admin site collection url -$adminSiteUrl = "https://-admin.sharepoint.com" +$adminSiteUrl = "https://blkbridge-admin.sharepoint.com" # Communication site collection url $commSiteUrl = "https://.sharepoint.com/communicationsite" @@ -35,7 +35,7 @@ Set-SPOHomeSite -HomeSiteUrl $commSiteUrl ```powershell # SharePoint tenant admin site collection url -$adminSiteUrl = "https://-admin.sharepoint.com" +$adminSiteUrl = "https://blkbridge-admin.sharepoint.com" # Communication site collection url $commSiteUrl = "https://.sharepoint.com/communicationsite"