File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 16
16
- run : yarn install --ignore-scripts
17
17
- run : yarn run lint
18
18
19
+ build-dev :
20
+ runs-on : ${{ matrix.os }}
21
+ strategy :
22
+ matrix :
23
+ os : [ubuntu-latest, macos-latest, windows-latest]
24
+ node-version :
25
+ - 18.x
26
+ - 20.x
27
+ - 22.x
28
+ steps :
29
+ - name : Use Node.js ${{ matrix.node-version }}
30
+ uses : actions/setup-node@v2
31
+ with :
32
+ node-version : ${{ matrix.node-version }}
33
+ - name : Checkout
34
+
35
+ with :
36
+ persist-credentials : false
37
+ - uses : actions/cache@v2
38
+ with :
39
+ path : ' **/node_modules'
40
+ key : ${{ runner.os }}-build-modules-${{ hashFiles('**/yarn.lock') }}
41
+ - run : yarn install --ignore-scripts
42
+ - run : yarn run dev-ci
43
+ - run : yarn run dev-prod-ci
44
+
19
45
build :
20
46
runs-on : ${{ matrix.os }}
21
47
strategy :
Original file line number Diff line number Diff line change 52
52
],
53
53
"scripts" : {
54
54
"lint" : " eslint src/*.js" ,
55
+ "dev-prod-ci" : " comunica-compile-config config/config-default.json > .tmp-comunica-engine.js && ./bin/queries-to-json.js && webpack --config webpack.config.js --mode production" ,
56
+ "dev-ci" : " comunica-compile-config config/config-default.json > .tmp-comunica-engine.js && ./bin/queries-to-json.js && webpack --config webpack.config.js --mode development" ,
55
57
"dev-prod" : " comunica-compile-config config/config-default.json > .tmp-comunica-engine.js && ./bin/queries-to-json.js && webpack serve --config webpack.config.js --mode production" ,
56
58
"dev" : " comunica-compile-config config/config-default.json > .tmp-comunica-engine.js && ./bin/queries-to-json.js && webpack serve --config webpack.config.js --mode development" ,
57
59
"build" : " node ./bin/generate.js" ,
89
91
},
90
92
"pre-commit" : [
91
93
" lint"
92
- ]
94
+ ],
95
+ "packageManager" :
" [email protected] +sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
93
96
}
You can’t perform that action at this time.
0 commit comments