Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticdrew committed Mar 8, 2024
1 parent 38fbde5 commit 4daf47e
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 14 deletions.
27 changes: 18 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Java Set-Up
# Java 8 by default, doesn't really matter for us
uses: olafurpg/setup-scala@v6
- uses: actions/checkout@v1

- name: NodeJS Set-Up
run: npm install --save
- name: Java Set-Up
uses: actions/setup-java@v2

- name: Gradle Build
run: /bin/sh ./gradlew build
with:
distribution: "adopt"
java-version: "8"

- name: Set up secrets
run: 'echo "$NPM_AUTH" >> ~/.npmrc'

env:
NPM_AUTH: ${{secrets.NPM_AUTH}}

- name: NodeJS Set-Up
run: yarn install --save

- name: Gradle Build
run: /bin/sh ./gradlew build
21 changes: 18 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,26 @@ jobs:
- uses: actions/checkout@v1

- name: Java Set-Up
# Java 8 by default, doesn't really matter for us
uses: olafurpg/setup-scala@v6
uses: actions/setup-java@v2

with:
distribution: "adopt"
java-version: "8"

- name: Set up secrets
run: 'echo "$NPM_AUTH" >> ~/.npmrc'

env:
NPM_AUTH: ${{secrets.NPM_AUTH}}

- name: NodeJS Set-Up
run: npm install --save
uses: actions/setup-node@v2
with:
node-version: "16"
cache: 'yarn'

- name: Yarn install
run: yarn install

- name: Gradle Build
run: /bin/sh ./gradlew build
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const MiniCssExtractPlugin = require("mini-css-extract-plugin")
const OptimizeCSSAssetsPlugin = require("optimize-css-assets-webpack-plugin")
const OptimizeCSSAssetsPlugin = require("css-minimizer-webpack-plugin")
const TerserJSPlugin = require("terser-webpack-plugin")
const VueLoaderPlugin = require("vue-loader/lib/plugin")

const path = require("path")

module.exports = {
entry: ["babel-polyfill", "./src/main/js/index.js"],
entry: ["./src/main/js/index.js"],
mode: "production",

devtool: "eval-source-map",
Expand Down

0 comments on commit 4daf47e

Please sign in to comment.