Skip to content

Commit

Permalink
chore: update pipelines to run on node 20 (#2986)
Browse files Browse the repository at this point in the history
moves rollup configs to .mjs files
updates dependencies and configs for rollup
  • Loading branch information
gavinbarron committed Jan 30, 2024
1 parent 606fffb commit 5e261c0
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

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

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-clean-deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

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

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

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

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-test-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

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

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

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

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-preview-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

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

steps:
- uses: actions/checkout@v4
Expand All @@ -45,7 +45,7 @@ jobs:
if: needs.version.outputs.latest-version != needs.version.outputs.package-version
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

environment:
name: release
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

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

steps:
- uses: actions/checkout@v4
Expand All @@ -44,7 +44,7 @@ jobs:
if: needs.version.outputs.latest-version != needs.version.outputs.package-version
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

environment:
name: release
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:

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

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
if: github.repository == 'microsoftgraph/microsoft-graph-toolkit'
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Use Node.js 18.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
- uses: google-github-actions/release-please-action@v3
id: release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

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

steps:
- uses: actions/checkout@v4
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"storybook": "storybook dev -p 6006",
"storybook:dev": "npm run build:compile && npm run analyze",
"storybook:watch": "npm-run-all --parallel watch storybook:bundle:watch storybook",
"storybook:bundle": "rollup -c ./.storybook/rollup.config.js",
"storybook:bundle:watch": "rollup -c ./.storybook/rollup.config.js --watch",
"storybook:bundle": "rollup -c ./.storybook/rollup.config.mjs",
"storybook:bundle:watch": "rollup -c ./.storybook/rollup.config.mjs --watch",
"storybook:build": "npm run storybook:bundle && npm run storybook:dev && storybook build && cpx .storybook/CNAME storybook-static && node ./.storybook/post-process-index-file.js 'Microsoft Graph Toolkit Playground' ../",
"csp": "node ./.storybook/post-process-index-file.js 'Microsoft Graph Toolkit Playground' ../",
"setLicense": "gulp setLicense",
Expand Down

0 comments on commit 5e261c0

Please sign in to comment.