From 063c15aeea6270760ae2125d30fa3d29a4dc244b Mon Sep 17 00:00:00 2001 From: Thomas Quandalle Date: Sat, 18 Jun 2022 20:21:39 +0200 Subject: [PATCH] add npm --- .github/workflows/codeql-analysis.yml | 7 ++----- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b4c8c88..76b1d37 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,12 +13,9 @@ name: "CodeQL" on: push: - branches: [ master ] + branches: [ master, develop ] pull_request: - # The branches below must be a subset of the branches above - branches: [ master ] - schedule: - - cron: '39 20 * * 3' + branches: [ master, develop ] jobs: analyze: diff --git a/Dockerfile b/Dockerfile index 965b3fa..a03564d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ COPY ui /go/src/github.com/kerberos-io/agent/ui ######################## # Download NPM and Yarns -RUN apt-get update && apt-get install -y curl && curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ +RUN apt-get update && apt install nodejs npm -y && apt-get install -y curl && curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \ apt update && apt install yarn -y