Skip to content

Commit bf8b83f

Browse files
milanholemanswaldekmastykarz
authored andcommitted
Updates node to v20
1 parent 285f411 commit bf8b83f

File tree

4 files changed

+37
-17
lines changed

4 files changed

+37
-17
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,26 @@ jobs:
4040
runs-on: ubuntu-latest
4141
strategy:
4242
matrix:
43-
node-version: [10.x]
43+
node-version: [18.x]
4444

4545
steps:
4646

4747
# CLI for Microsoft 365 login action
4848
- name: Login to tenant
49-
uses: pnp/action-cli-login@v2.0.0
49+
uses: pnp/action-cli-login@v3
5050
with:
5151
ADMIN_USERNAME: ${{ secrets.adminUsername }}
5252
ADMIN_PASSWORD: ${{ secrets.adminPassword }}
5353

5454
# CLI for Microsoft 365 runscript action option 1 (single line of script as input)
5555
- name: Send email
56-
uses: pnp/action-cli-runscript@v2.0.0
56+
uses: pnp/action-cli-runscript@v3
5757
with:
5858
CLI_MICROSOFT365_SCRIPT: m365 spo mail send --webUrl https://contoso.sharepoint.com/sites/teamsite --to 'user@contoso.onmicrosoft.com' --subject 'Deployment done' --body '<h2>CLI for Microsoft 365</h2> <p>The deployment is complete.</p> <br/> Email sent via CLI for Microsoft 365 GitHub Action.'
5959

6060
# CLI for Microsoft 365 runscript action option 2 (script file as input)
6161
- name: Create lists
62-
uses: pnp/action-cli-runscript@v2.0.0
62+
uses: pnp/action-cli-runscript@v3
6363
with:
6464
CLI_MICROSOFT365_SCRIPT_PATH: ./script/lists.ps1
6565
#lists.ps1 will have all the required CLI for Microsoft 365 commands
@@ -70,9 +70,13 @@ If self-hosted runners are used for running the workflow, then please make sure
7070

7171
## Release notes
7272

73+
### v3.0.0
74+
75+
- Bumped to Node version 20
76+
7377
### v2.0.0
7478

7579
- Renames action to 'CLI for Microsoft 365 Runscript'
7680

7781
### v1.0.0
78-
- Added inital 'CLI for Microsoft 365 runscript' GitHub action solving #2
82+
- Added initial 'CLI for Microsoft 365 runscript' GitHub action solving #2

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inputs:
88
IS_POWERSHELL:
99
description: 'Used only with CLI_MICROSOFT365_SCRIPT. If true the assumption is the script passed in CLI_MICROSOFT365_SCRIPT will be a PowerShell script, otherwise the assumption is bash script. Default is false'
1010
runs:
11-
using: "node12"
11+
using: "node20"
1212
main: "dist/index.js"
1313
branding:
1414
icon: 'terminal'

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pnp/action-cli-runscript",
3-
"version": "2.0.1",
3+
"version": "3.0.0",
44
"description": "A GitHub Action that runs a CLI for Microsoft 365 script",
55
"main": "dist/index.js",
66
"scripts": {
@@ -13,11 +13,6 @@
1313
"email": "waldek@mastykarz.nl",
1414
"web": "https://blog.mastykarz.nl"
1515
},
16-
{
17-
"name": "Velin Georgiev",
18-
"email": "velin.georgiev@gmail.com",
19-
"web": "https://blog.velingeorgiev.com"
20-
},
2116
{
2217
"name": "Garry Trinder",
2318
"email": "garry.trinder@live.com",
@@ -29,13 +24,34 @@
2924
"web": "https://www.cloudappie.nl/"
3025
},
3126
{
32-
"name": "Rabia Williams",
33-
"email": "rabiawilliams@gmail.com",
34-
"web": "https://rabiawilliams.com/"
27+
"name": "Arjun Menon",
28+
"email": "arjun.umenon@gmail.com",
29+
"web": "https://arjunumenon.com/"
30+
},
31+
{
32+
"name": "Adam Wojcik",
33+
"email": "adam.wojcik.it@gmail.com",
34+
"web": "https://github.com/Adam-it/"
35+
},
36+
{
37+
"name": "Martin Lingstuyl",
38+
"email": "mlingstuyl@live.com",
39+
"web": "https://www.blimped.nl/"
40+
},
41+
{
42+
"name": "Jasey Waegebaert",
43+
"email": "38426621+Jwaegebaert@users.noreply.github.com",
44+
"web": "https://github.com/Jwaegebaert"
45+
},
46+
{
47+
"name": "Milan Holemans",
48+
"email": "11723921+milanholemans@users.noreply.github.com",
49+
"web": "https://github.com/milanholemans"
3550
}
3651
],
3752
"contributors": [
3853
"Georgiev, Velin <velin.georgiev@gmail.com>",
54+
"Holemans, Milan <11723921+milanholemans@users.noreply.github.com>",
3955
"Mastykarz, Waldek <waldek@mastykarz.nl>",
4056
"Tatti, Anoop <anoop@live.co.uk>",
4157
"Trinder, Garry <garry.trinder@live.com>"

0 commit comments

Comments
 (0)