Skip to content
Snippets Groups Projects
Commit 597a7ded authored by Arkerthan's avatar Arkerthan
Browse files

Fix CI

parent 42c42fdb
No related branches found
No related tags found
1 merge request!11334Improve CI compiling
...@@ -24,7 +24,7 @@ variables: ...@@ -24,7 +24,7 @@ variables:
build: build:
stage: build stage: build
image: node:latest image: gitgud.io:5050/pregmodfan/fc-pregmod/build
cache: cache:
paths: paths:
- node_modules/ - node_modules/
...@@ -34,10 +34,10 @@ build: ...@@ -34,10 +34,10 @@ build:
# latest # latest
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
before_script: before_script:
- npm update --no-audit --no-fund - npm update --no-audit --no-fund --omit=dev
script: script:
# - ./compile.sh --ci --minify - mkdir bin/ # The minifier cannot create the location for the minified file itself
- npx gulp --minify --ci --verbosity 6 - npx gulp --minify --release --ci --verbosity 6
artifacts: artifacts:
paths: paths:
- bin/FC_pregmod.html - bin/FC_pregmod.html
......
# fc-pregmod:build
# Compiling needs node and Go installed
# Start with the base golang image, cause installing go is way to complicated
FROM golang
RUN curl -sL https://deb.nodesource.com/setup_19.x | bash
RUN apt-get install -y nodejs
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