Skip to content

Commit

Permalink
new integration test pipeline 4
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaSat committed Sep 18, 2024
1 parent ee36df6 commit 23acc87
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
1 change: 0 additions & 1 deletion .github/workflows/frontend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ jobs:
path: |
nodeapp/static
nodeapp/*.html
frontend/templates/frontend/*.html
- name: 'Archive Desktop App Static Build Results'
uses: actions/upload-artifact@v4
with:
Expand Down
30 changes: 16 additions & 14 deletions frontend/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,21 +84,23 @@ const configNode: Configuration = {
robosatsSettings: 'desktop-basic',
}),
// Web App HTML
new CopyPlugin({
patterns: [
{
from: path.resolve(__dirname, 'templates/frontend/basic.html'),
to: path.resolve(__dirname, '../web/basic.html'),
},
],
new HtmlWebpackPlugin({
template: path.resolve(__dirname, 'templates/frontend/index.ejs'),
templateParameters: {
pro: false,
},
filename: path.resolve(__dirname, '../web/basic.html'),
inject: 'body',
robosatsSettings: 'web-basic',
}),
new CopyPlugin({
patterns: [
{
from: path.resolve(__dirname, 'templates/frontend/pro.html'),
to: path.resolve(__dirname, '../web/pro.html'),
},
],
new HtmlWebpackPlugin({
template: path.resolve(__dirname, 'templates/frontend/index.ejs'),
templateParameters: {
pro: true,
},
filename: path.resolve(__dirname, '../web/pro.html'),
inject: 'body',
robosatsSettings: 'web-pro',
}),
// Static files
new CopyPlugin({
Expand Down

0 comments on commit 23acc87

Please sign in to comment.