Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
greg
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
it-bott-integrasjoner
greg
Commits
2d8d48c5
Commit
2d8d48c5
authored
1 year ago
by
Andreas Ellewsen
Browse files
Options
Downloads
Plain Diff
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
!424
Lock npm to version 9
Pipeline
#231121
passed
1 year ago
Stage: venv update
Stage: tests and linting
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
frontend/Containerfile
+1
-1
1 addition, 1 deletion
frontend/Containerfile
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
3
−
3
View file @
2d8d48c5
...
...
@@ -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
This diff is collapsed.
Click to expand it.
frontend/Containerfile
+
1
−
1
View file @
2d8d48c5
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment