Skip to content
Snippets Groups Projects
Commit 2d8d48c5 authored by Andreas Ellewsen's avatar Andreas Ellewsen
Browse files

Merge branch 'lock-npm' into 'master'

Lock npm to version 9

See merge request !424
parents a1c0356e 2dccc363
No related branches found
No related tags found
1 merge request!424Lock npm to version 9
Pipeline #231121 passed
......@@ -57,7 +57,7 @@ frontend test:
stage: tests and linting
script:
- cd frontend
- npm install -g npm@latest
- npm install -g npm@9
- npm ci
- npm run coverage:ci
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
......@@ -67,7 +67,7 @@ frontend lint:
stage: tests and linting
script:
- cd frontend
- npm install -g npm@latest
- npm install -g npm@9
- npm ci
- npm run lint
......@@ -76,7 +76,7 @@ frontend build:
stage: tests and linting
script:
- cd frontend
- npm install -g npm@latest
- npm install -g npm@9
- NODE_ENV=production
- npm ci
- npm run build:no-env
......@@ -5,7 +5,7 @@ LABEL no.uio.contact="bnt-int@usit.uio.no"
### Build stage
RUN npm install -g npm
RUN npm install -g npm@9
COPY . /app
ENV NODE_ENV=production
RUN cd /app/ && npm ci && npm run build:no-env
......
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