diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml index e289a6b3ed..cc87d37708 100644 --- a/.github/workflows/next.yml +++ b/.github/workflows/next.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pr-clean-deployments.yml b/.github/workflows/pr-clean-deployments.yml index 57c8c6eb43..813ea316df 100644 --- a/.github/workflows/pr-clean-deployments.yml +++ b/.github/workflows/pr-clean-deployments.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pr-storybook.yml b/.github/workflows/pr-storybook.yml index f05fdba6d5..12b9c0c9a6 100644 --- a/.github/workflows/pr-storybook.yml +++ b/.github/workflows/pr-storybook.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pr-test-app.yml b/.github/workflows/pr-test-app.yml index 0ccb398fac..614afd9116 100644 --- a/.github/workflows/pr-test-app.yml +++ b/.github/workflows/pr-test-app.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 7a5942c2a6..b9493e24e6 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/push-preview-release.yml b/.github/workflows/push-preview-release.yml index b3744397a0..1634740896 100644 --- a/.github/workflows/push-preview-release.yml +++ b/.github/workflows/push-preview-release.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v4 @@ -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 diff --git a/.github/workflows/push-release.yml b/.github/workflows/push-release.yml index 5d81731b34..972215c001 100644 --- a/.github/workflows/push-release.yml +++ b/.github/workflows/push-release.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v4 @@ -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 @@ -87,7 +87,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 9129512599..6ee30e6401 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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 diff --git a/.github/workflows/run-release-please.yml b/.github/workflows/run-release-please.yml index cc9fc50756..6fdfb9838a 100644 --- a/.github/workflows/run-release-please.yml +++ b/.github/workflows/run-release-please.yml @@ -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 diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 31d64a0c75..8d76c0d4cd 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v4 diff --git a/.storybook/rollup.config.js b/.storybook/rollup.config.mjs similarity index 100% rename from .storybook/rollup.config.js rename to .storybook/rollup.config.mjs diff --git a/package.json b/package.json index 693a1ecfdf..2d531cfdbb 100644 --- a/package.json +++ b/package.json @@ -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",