Skip to content

Commit ab7f18e

Browse files
authored
chore: upgrade to SPFx v1.18 and node18 (#2714)
* chore: upgrade mgt-spfx to use spfx v1.18 * updates workflows to use node 18
1 parent b9fcfe7 commit ab7f18e

File tree

15 files changed

+3089
-2725
lines changed

15 files changed

+3089
-2725
lines changed

.github/workflows/next.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [16.x]
18+
node-version: [18.x]
1919

2020
steps:
2121
- uses: actions/checkout@v2

.github/workflows/pr-clean-storybook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [16.x]
18+
node-version: [18.x]
1919

2020
steps:
2121
- uses: actions/checkout@v2

.github/workflows/pr-storybook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [16.20.0]
18+
node-version: [18.x]
1919

2020
steps:
2121
- uses: actions/checkout@v2

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [16.x]
18+
node-version: [18.x]
1919

2020
steps:
2121
- uses: actions/checkout@v2

.github/workflows/push-preview-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [16.x]
19+
node-version: [18.x]
2020

2121
steps:
2222
- uses: actions/checkout@v2
@@ -41,7 +41,7 @@ jobs:
4141
if: needs.version.outputs.latest-version != needs.version.outputs.package-version
4242
strategy:
4343
matrix:
44-
node-version: [16.x]
44+
node-version: [18.x]
4545

4646
environment:
4747
name: release

.github/workflows/push-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
node-version: [16.x]
20+
node-version: [18.x]
2121

2222
steps:
2323
- uses: actions/checkout@v2
@@ -42,7 +42,7 @@ jobs:
4242
if: needs.version.outputs.latest-version != needs.version.outputs.package-version
4343
strategy:
4444
matrix:
45-
node-version: [16.x]
45+
node-version: [18.x]
4646

4747
environment:
4848
name: release
@@ -88,7 +88,7 @@ jobs:
8888

8989
strategy:
9090
matrix:
91-
node-version: [16.20.0]
91+
node-version: [18.x]
9292

9393
steps:
9494
- uses: actions/checkout@v2

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
if: github.repository == 'microsoftgraph/microsoft-graph-toolkit'
1616
strategy:
1717
matrix:
18-
node-version: [16.x]
18+
node-version: [18.x]
1919

2020
steps:
2121
- uses: actions/checkout@v2

.github/workflows/run-release-please.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# when the main branch is updated this workflow will run and create or update a combined [release PR](https://github.com/googleapis/release-please#whats-a-release-pr)
2-
# upon approval of the release PR as it adds a v3.x tag the [push-release.yml](./push-release.yml) workflow will run, push the release to npm and update the GitHub
2+
# upon approval of the release PR as it adds a v3.x tag the [push-release.yml](./push-release.yml) workflow will run, push the release to npm and update the GitHub
33
# release with the mgt-spfx sppkg file
44
on:
55
push:
@@ -14,10 +14,10 @@ jobs:
1414
release-please:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- name: Use Node.js 16.x
17+
- name: Use Node.js 18.x
1818
uses: actions/setup-node@v1
1919
with:
20-
node-version: 16.x
20+
node-version: 18.x
2121
registry-url: 'https://registry.npmjs.org'
2222
- uses: google-github-actions/release-please-action@v3
2323
id: release

.github/workflows/storybook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
node-version: [16.20.0]
20+
node-version: [18.x]
2121

2222
steps:
2323
- uses: actions/checkout@v2

.npmrc

-24 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)