Skip to content

Commit

Permalink
Integrate new build workflow in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisX11 committed Nov 2, 2023
1 parent b66c396 commit 9eb5292
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dist: trusty

language: node_js
node:
- 14
- 18

if: tag IS blank AND commit_message =~ ci-build

Expand All @@ -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

Expand Down
7 changes: 0 additions & 7 deletions scripts/generate_pwa.js
Original file line number Diff line number Diff line change
@@ -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(/</)) {
console.error('\x1b[31m', 'Invalid symbol detected in bundle');
process.exit(1);
}*/

workbox.generateSW({
cacheId: 'blockbench',
Expand Down

0 comments on commit 9eb5292

Please sign in to comment.