File tree 3 files changed +38
-14
lines changed
3 files changed +38
-14
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,23 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
14
14
steps :
15
- - uses : actions/checkout@v1
16
-
17
- - name : Java Set-Up
18
- # Java 8 by default, doesn't really matter for us
19
- uses : olafurpg/setup-scala@v6
15
+ - uses : actions/checkout@v1
20
16
21
- - name : NodeJS Set-Up
22
- run : npm install --save
17
+ - name : Java Set-Up
18
+ uses : actions/setup-java@v2
23
19
24
- - name : Gradle Build
25
- run : /bin/sh ./gradlew build
20
+ with :
21
+ distribution : " adopt"
22
+ java-version : " 8"
23
+
24
+ - name : Set up secrets
25
+ run : ' echo "$NPM_AUTH" >> ~/.npmrc'
26
+
27
+ env :
28
+ NPM_AUTH : ${{secrets.NPM_AUTH}}
29
+
30
+ - name : NodeJS Set-Up
31
+ run : yarn install --save
32
+
33
+ - name : Gradle Build
34
+ run : /bin/sh ./gradlew build
Original file line number Diff line number Diff line change @@ -13,11 +13,26 @@ jobs:
13
13
- uses : actions/checkout@v1
14
14
15
15
- name : Java Set-Up
16
- # Java 8 by default, doesn't really matter for us
17
- uses : olafurpg/setup-scala@v6
16
+ uses : actions/setup-java@v2
17
+
18
+ with :
19
+ distribution : " adopt"
20
+ java-version : " 8"
21
+
22
+ - name : Set up secrets
23
+ run : ' echo "$NPM_AUTH" >> ~/.npmrc'
24
+
25
+ env :
26
+ NPM_AUTH : ${{secrets.NPM_AUTH}}
18
27
19
28
- name : NodeJS Set-Up
20
- run : npm install --save
29
+ uses : actions/setup-node@v2
30
+ with :
31
+ node-version : " 16"
32
+ cache : ' yarn'
33
+
34
+ - name : Yarn install
35
+ run : yarn install
21
36
22
37
- name : Gradle Build
23
38
run : /bin/sh ./gradlew build
Original file line number Diff line number Diff line change 1
1
const MiniCssExtractPlugin = require ( "mini-css-extract-plugin" )
2
- const OptimizeCSSAssetsPlugin = require ( "optimize- css-assets -webpack-plugin" )
2
+ const OptimizeCSSAssetsPlugin = require ( "css-minimizer -webpack-plugin" )
3
3
const TerserJSPlugin = require ( "terser-webpack-plugin" )
4
4
const VueLoaderPlugin = require ( "vue-loader/lib/plugin" )
5
5
6
6
const path = require ( "path" )
7
7
8
8
module . exports = {
9
- entry : [ "babel-polyfill" , " ./src/main/js/index.js"] ,
9
+ entry : [ "./src/main/js/index.js" ] ,
10
10
mode : "production" ,
11
11
12
12
devtool : "eval-source-map" ,
You can’t perform that action at this time.
0 commit comments