Skip to content

Commit c3b8027

Browse files
authored
chore: use npm 8.5 in travis and docker (#138)
* chore: use npm 8.5 in travis * chore: use gh action
1 parent fd0ec1c commit c3b8027

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Build Image and Push to Quay
2+
3+
on: push
4+
5+
jobs:
6+
ci:
7+
name: Build Image and Push to Quay
8+
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
9+
secrets:
10+
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
11+
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
12+
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
13+
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
- docker
99

1010
before_install:
11-
- npm install -g npm@8
11+
- npm install -g npm@8.5
1212
- COMMIT=`git rev-parse HEAD` && echo "export const gitCommit = \"${COMMIT}\";" >src/server/version.js
1313
- VERSION=`git describe --always --tags` && echo "export const gitVersion =\"${VERSION}\";" >>src/server/version.js
1414

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN apt-get update \
1414
&& curl -sL https://deb.nodesource.com/setup_14.x | bash - \
1515
&& apt-get install -y --no-install-recommends nodejs \
1616
&& rm -rf /var/lib/apt/lists/* \
17-
&& npm install -g npm@8
17+
&& npm install -g npm@8.5
1818

1919
COPY . /guppy/
2020
WORKDIR /guppy

0 commit comments

Comments
 (0)