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 1616 - run : yarn install --ignore-scripts
1717 - run : yarn run lint
1818
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+ uses : actions/checkout@v2.5.0
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+
1945 build :
2046 runs-on : ${{ matrix.os }}
2147 strategy :
Original file line number Diff line number Diff line change 5252 ],
5353 "scripts" : {
5454 "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" ,
5557 "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" ,
5658 "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" ,
5759 "build" : " node ./bin/generate.js" ,
8991 },
9092 "pre-commit" : [
9193 " lint"
92- ]
94+ ],
95+ "packageManager" : " yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
9396}
You can’t perform that action at this time.
0 commit comments