Skip to content

Commit

Permalink
ci: move storybook build to webpack 5 (#2633)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinbarron authored Jul 27, 2023
1 parent edd18ab commit 3106969
Show file tree
Hide file tree
Showing 6 changed files with 684 additions and 8,875 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [16.20.0]

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

strategy:
matrix:
node-version: [16.x]
node-version: [16.20.0]

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

strategy:
matrix:
node-version: [16.x]
node-version: [16.20.0]

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 3 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');

module.exports = {
core: {
builder: 'webpack5',
},
presets: [
// {
// name: '@storybook/addon-docs/preset',
Expand Down
21 changes: 12 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,16 @@
"@microsoft/eslint-config-msgraph": "^1.0.0",
"@octokit/rest": "^18.5.3",
"@open-wc/testing-helpers": "^2.3.0",
"@storybook/addon-a11y": "^6.4.4",
"@storybook/addon-actions": "^6.4.4",
"@storybook/addon-docs": "^6.4.4",
"@storybook/addon-knobs": "^6.3.0",
"@storybook/addon-links": "^6.4.4",
"@storybook/addon-storysource": "^6.4.4",
"@storybook/cli": "^6.4.4",
"@storybook/web-components": "^6.4.4",
"@storybook/addon-a11y": "^6.5.16",
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-docs": "^6.5.16",
"@storybook/addon-knobs": "^6.4.0",
"@storybook/addon-links": "^6.5.16",
"@storybook/addon-storysource": "^6.5.16",
"@storybook/builder-webpack5": "^6.5.16",
"@storybook/cli": "^6.5.16",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/web-components": "^6.5.16",
"@testing-library/dom": "^8.20.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/user-event": "^14.4.3",
Expand Down Expand Up @@ -141,6 +143,7 @@
"ts-jest": "^29.1.0",
"typescript": "^5.1.5",
"web-component-analyzer": "^1.1.6",
"webpack": "^5.76.0",
"whatwg-fetch": "^3.6.2"
},
"husky": {
Expand All @@ -151,4 +154,4 @@
"resolutions": {
"responselike": "2.0.0"
}
}
}
Loading

0 comments on commit 3106969

Please sign in to comment.