Skip to content

Commit

Permalink
Merge branch 'upgrade-webpack-5-karma' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
canac committed Nov 11, 2024
2 parents 6a56fd3 + 90bbae1 commit d20b0b6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
node-version-file: .node-version
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache
- name: 🧪 Run Tests
Expand All @@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
node-version-file: .node-version
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache
- name: 💨 ESLint
Expand All @@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
node-version-file: .node-version
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache
- name: ✅ TypeScript lint
Expand All @@ -58,7 +58,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
node-version-file: .node-version
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache
- name: 💅 Prettier Check
Expand All @@ -69,7 +69,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
node-version-file: .node-version
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache --check-cache
deploy:
Expand All @@ -82,7 +82,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
node-version-file: .node-version
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache
- name: 🔨 Build
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.20.4
1 change: 0 additions & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
nodejs 18.20.4
yarn 1.22.17
2 changes: 0 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,12 @@ module.exports = (env = {}) => {
filename: 'browserUnsupported.html',
excludeAssets: /.*\.js/, // Only import CSS
minify: htmlMinDefaults,
chunks: ['manifest'],
}),
new HtmlWebpackPlugin({
template: 'app/maintenanceMode.ejs',
filename: 'maintenanceMode.html',
excludeAssets: /.*\.js/, // Only import CSS
minify: htmlMinDefaults,
chunks: ['manifest'],
}),
new HtmlWebpackSkipAssetsPlugin(),
new FaviconsWebpackPlugin('./app/img/favicon.png'),
Expand Down

0 comments on commit d20b0b6

Please sign in to comment.