From 9eb5292a49ef2b7d10d0c6dc2d90b183acd76e9f Mon Sep 17 00:00:00 2001 From: JannisX11 Date: Thu, 2 Nov 2023 22:28:12 +0100 Subject: [PATCH] Integrate new build workflow in CI --- .travis.yml | 4 +++- scripts/generate_pwa.js | 7 ------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index f608f5d05..88e3356c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ dist: trusty language: node_js node: - - 14 + - 18 if: tag IS blank AND commit_message =~ ci-build @@ -13,11 +13,13 @@ jobs: os: osx osx_image: "xcode12.5" script: + - npm run prepublish - electron-builder --publish=always - name: "Linux" os: linux script: + - npm run prepublish - sudo apt-get install rpm - electron-builder --publish=onTagOrDraft diff --git a/scripts/generate_pwa.js b/scripts/generate_pwa.js index ec614b927..7f5cf0fc6 100644 --- a/scripts/generate_pwa.js +++ b/scripts/generate_pwa.js @@ -1,11 +1,4 @@ const workbox = require('workbox-build'); -const fs = require('fs'); - -let bundle_file = fs.readFileSync('./js/webpack/bundle.js', 'utf-8'); -/*if (bundle_file.match(/