mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-14 11:26:24 +00:00
new integrations pipelines fix
This commit is contained in:
parent
3be4c4e757
commit
6df8bf399d
2
.github/workflows/frontend-build.yml
vendored
2
.github/workflows/frontend-build.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
|||||||
- name: 'Setup node'
|
- name: 'Setup node'
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 16.17.0
|
node-version: 22.4.0
|
||||||
cache: npm
|
cache: npm
|
||||||
cache-dependency-path: frontend/package-lock.json
|
cache-dependency-path: frontend/package-lock.json
|
||||||
- name: 'Install NPM Dependencies'
|
- name: 'Install NPM Dependencies'
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -646,6 +646,7 @@ frontend/static/frontend/**
|
|||||||
docs/.jekyll-cache*
|
docs/.jekyll-cache*
|
||||||
docs/_site*
|
docs/_site*
|
||||||
node
|
node
|
||||||
|
desktopApp/release-builds
|
||||||
|
|
||||||
# frontend statics
|
# frontend statics
|
||||||
frontend/templates/frontend/*.html
|
frontend/templates/frontend/*.html
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
<link rel="stylesheet" href="./static/css/fonts.css"/>
|
<link rel="stylesheet" href="./static/css/fonts.css"/>
|
||||||
<% } %>
|
<% } %>
|
||||||
{% load static %}
|
|
||||||
<link rel="stylesheet" type="text/css" href="./static/css/loader.css"/>
|
<link rel="stylesheet" type="text/css" href="./static/css/loader.css"/>
|
||||||
<link rel="stylesheet" type="text/css" href="./static/css/index.css"/>
|
<link rel="stylesheet" type="text/css" href="./static/css/index.css"/>
|
||||||
<link rel="stylesheet" type="text/css" href="./static/css/leaflet.css"/>
|
<link rel="stylesheet" type="text/css" href="./static/css/leaflet.css"/>
|
||||||
|
@ -73,6 +73,14 @@ const configNode: Configuration = {
|
|||||||
inject: 'body',
|
inject: 'body',
|
||||||
robosatsSettings: 'selfhosted-pro',
|
robosatsSettings: 'selfhosted-pro',
|
||||||
}),
|
}),
|
||||||
|
new CopyPlugin({
|
||||||
|
patterns: [
|
||||||
|
{
|
||||||
|
from: path.resolve(__dirname, 'static'),
|
||||||
|
to: path.resolve(__dirname, '../nodeapp/static'),
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}),
|
||||||
// Desktop App HTML
|
// Desktop App HTML
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
template: path.resolve(__dirname, 'templates/frontend/index.ejs'),
|
template: path.resolve(__dirname, 'templates/frontend/index.ejs'),
|
||||||
@ -83,6 +91,14 @@ const configNode: Configuration = {
|
|||||||
inject: 'body',
|
inject: 'body',
|
||||||
robosatsSettings: 'desktop-basic',
|
robosatsSettings: 'desktop-basic',
|
||||||
}),
|
}),
|
||||||
|
new CopyPlugin({
|
||||||
|
patterns: [
|
||||||
|
{
|
||||||
|
from: path.resolve(__dirname, 'static'),
|
||||||
|
to: path.resolve(__dirname, '../desktopApp/static'),
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}),
|
||||||
// Web App HTML
|
// Web App HTML
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
template: path.resolve(__dirname, 'templates/frontend/index.ejs'),
|
template: path.resolve(__dirname, 'templates/frontend/index.ejs'),
|
||||||
@ -102,15 +118,6 @@ const configNode: Configuration = {
|
|||||||
inject: 'body',
|
inject: 'body',
|
||||||
robosatsSettings: 'web-pro',
|
robosatsSettings: 'web-pro',
|
||||||
}),
|
}),
|
||||||
// Static files
|
|
||||||
new CopyPlugin({
|
|
||||||
patterns: [
|
|
||||||
{
|
|
||||||
from: path.resolve(__dirname, 'static'),
|
|
||||||
to: path.resolve(__dirname, '../nodeapp/static'),
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}),
|
|
||||||
new CopyPlugin({
|
new CopyPlugin({
|
||||||
patterns: [
|
patterns: [
|
||||||
{
|
{
|
||||||
@ -119,14 +126,6 @@ const configNode: Configuration = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
new CopyPlugin({
|
|
||||||
patterns: [
|
|
||||||
{
|
|
||||||
from: path.resolve(__dirname, 'static'),
|
|
||||||
to: path.resolve(__dirname, '../desktopApp/static'),
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}),
|
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user