Skip to content
Snippets Groups Projects
Commit d92abb37 authored by Paolo.Brasolin's avatar Paolo.Brasolin Committed by Paolo.Brasolin
Browse files

ci: sketch .gitlab-ci.yml file

parent 277debf1
No related branches found
No related tags found
No related merge requests found
image: node:16-alpine
stages:
- setup
be-setup-job:
stage: setup
cache:
- key:
files:
- backend/package-lock.json
paths:
- backend/node_modules
script:
# TODO: drop python once we stop using sqlite3 in CI (soon, please)
- apk add --update python2 build-base
- cd backend
- npm install
- echo Success!
fe-setup-job:
stage: setup
cache:
- key:
files:
- frontend/package-lock.json
paths:
- frontend/node_modules
script:
- cd frontend
- npm install
- echo Success!
......@@ -87,7 +87,7 @@ function preload() {
}
// window.OetziWordsSiteUrlPrefix = "http://localhost:8080/oetzi_words/" //use this to develop
window.OetziWordsSiteUrlPrefix = ""; // use this to deploy
window.OetziWordsSiteUrlPrefix = "http://localhost:8080/"; // use this to deploy
let gameRunning = false;
let player;
......
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