Skip to content
Snippets Groups Projects
Commit 184eed4b authored by Marin Karamihalev's avatar Marin Karamihalev
Browse files

cicd changes, fixing build bug

parent 036fb515
No related branches found
No related tags found
No related merge requests found
Pipeline #52089 passed
......@@ -14,18 +14,18 @@ stages:
install:
stage: install
script:
- npm install
- npm install --only=dev
- yarn
- yarn --only=dev
build:
stage: build
script:
- npm run build
- yarn run build
# unit_testing:
# stage: unit-testing
# script:
# - npm run test
# - yarn run test
deploy_pages:
image: alpine:latest
......@@ -36,4 +36,4 @@ deploy_pages:
paths:
- public
only:
- master
- devel
This diff is collapsed.
......@@ -10,10 +10,10 @@
"preweb": "npx shx rm -rf ./web",
"web": "webpack",
"postweb": "tsc --outDir web --declaration --emitDeclarationOnly",
"build": "npm run node && npm run web",
"build": "yarn run node && yarn run web",
"dev": "tsc --watch",
"docs": "npx typedoc",
"prepublishOnly": "npm run build && npm run docs",
"prepublishOnly": "yarn run build && yarn run docs",
"test": "cross-env TS_NODE_COMPILER_OPTIONS={\\\"module\\\":\\\"commonjs\\\"} mocha -r ts-node/register 'tests/**/*.test.ts'",
"qjs": "npx shx rm -rf ./qjs && tsc -p tsconfig.qjs.json && npx shx rm ./qjs/types.js && npx shx mv qjs/index.qjs.js qjs/index.js && node qjs-compile.js && npx shx mkdir qjs/lib && npx shx cp src/configurations/quickjs/lib/* qjs/lib/"
},
......@@ -35,6 +35,7 @@
"url": "^0.11.0",
"webpack": "4",
"websocket": "^1.0.34",
"shx": "^0.3.3",
"ws": "^8.5.0"
},
"devDependencies": {
......@@ -43,7 +44,6 @@
"awesome-typescript-loader": "^5.2.1",
"cross-env": "^7.0.3",
"mocha": "^8.2.1",
"shx": "^0.3.3",
"ts-node": "^9.1.1",
"typedoc": "^0.20.36",
"webpack-cli": "^4.6.0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment