Skip to content

Commit e0e5dc4

Browse files
committedDec 28, 2022
fix build warnings
1 parent 46fc3c9 commit e0e5dc4

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed
 

‎.github/workflows/build-deploy.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
run: |
3131
if [[ "${{ github.ref }}" =~ ^refs/heads/main ]]
3232
then
33-
echo "::set-output name=environment::production"
33+
echo "environment=production" >> $GITHUB_OUTPUT
3434
elif [[ "${{ github.ref }}" =~ ^refs/heads/develop ]]
3535
then
36-
echo "::set-output name=environment::development"
36+
echo "environment=development" >> $GITHUB_OUTPUT
3737
fi
38-
echo "::set-output name=docker_env_tag::${GITHUB_REF#refs/*/}-$GITHUB_SHA"
38+
echo "docker_env_tag=${GITHUB_REF#refs/*/}-$GITHUB_SHA" >> $GITHUB_OUTPUT
3939
4040
build-image:
4141
name: Build Image
@@ -68,7 +68,7 @@ jobs:
6868
- uses: actions/checkout@v2
6969
- name: Set Environment
7070
run: |
71-
cat ".github/env.${{ needs.get-environment.outputs.environment }}" | grep -E -v '^\ *#' >>$GITHUB_ENV
71+
cat ".github/env.${{ needs.get-environment.outputs.environment }}" | grep -E -v '^\ *#' >> $GITHUB_ENV
7272
- name: Helm Deploy
7373
uses: koslib/helm-eks-action@v1.8.0
7474
with:

‎Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ COPY ormconfig.js ./
4040
COPY entrypoints/ ./
4141
COPY package.json ./
4242

43+
# update npm
44+
RUN npm -g install npm@^9.2.0
45+
4346
EXPOSE 3000
4447

4548
CMD [ "/bin/sh", "run.sh" ]

0 commit comments

Comments
 (0)
Please sign in to comment.