mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 19:06:26 +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'
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 16.17.0
|
||||
node-version: 22.4.0
|
||||
cache: npm
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
- name: 'Install NPM Dependencies'
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -646,6 +646,7 @@ frontend/static/frontend/**
|
||||
docs/.jekyll-cache*
|
||||
docs/_site*
|
||||
node
|
||||
desktopApp/release-builds
|
||||
|
||||
# frontend statics
|
||||
frontend/templates/frontend/*.html
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
<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/index.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="./static/css/leaflet.css"/>
|
||||
|
@ -73,6 +73,14 @@ const configNode: Configuration = {
|
||||
inject: 'body',
|
||||
robosatsSettings: 'selfhosted-pro',
|
||||
}),
|
||||
new CopyPlugin({
|
||||
patterns: [
|
||||
{
|
||||
from: path.resolve(__dirname, 'static'),
|
||||
to: path.resolve(__dirname, '../nodeapp/static'),
|
||||
},
|
||||
],
|
||||
}),
|
||||
// Desktop App HTML
|
||||
new HtmlWebpackPlugin({
|
||||
template: path.resolve(__dirname, 'templates/frontend/index.ejs'),
|
||||
@ -83,6 +91,14 @@ const configNode: Configuration = {
|
||||
inject: 'body',
|
||||
robosatsSettings: 'desktop-basic',
|
||||
}),
|
||||
new CopyPlugin({
|
||||
patterns: [
|
||||
{
|
||||
from: path.resolve(__dirname, 'static'),
|
||||
to: path.resolve(__dirname, '../desktopApp/static'),
|
||||
},
|
||||
],
|
||||
}),
|
||||
// Web App HTML
|
||||
new HtmlWebpackPlugin({
|
||||
template: path.resolve(__dirname, 'templates/frontend/index.ejs'),
|
||||
@ -102,15 +118,6 @@ const configNode: Configuration = {
|
||||
inject: 'body',
|
||||
robosatsSettings: 'web-pro',
|
||||
}),
|
||||
// Static files
|
||||
new CopyPlugin({
|
||||
patterns: [
|
||||
{
|
||||
from: path.resolve(__dirname, 'static'),
|
||||
to: path.resolve(__dirname, '../nodeapp/static'),
|
||||
},
|
||||
],
|
||||
}),
|
||||
new CopyPlugin({
|
||||
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