diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b1ab543..7d989e15 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,11 +6,12 @@ on: jobs: build: runs-on: ubuntu-latest + env: NODE_OPTIONS=--openssl-legacy-provider steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '16' + node-version: '18' - name: Install modules run: npm install - name: Tests diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index ce7b7064..684e8ee4 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '16' + node-version: '18' - name: Install modules run: npm install - name: Run ESLint diff --git a/Dockerfile b/Dockerfile index 622a31b3..ffa074c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,14 @@ -FROM node:16.18.0-alpine3.15 as builder +FROM node:18.13.0-alpine3.17 as builder WORKDIR /src/fe RUN apk --update add openjdk8 \ - git python2 build-base && \ + git build-base && \ rm -rf /var/lib/apt/lists/* +ENV NODE_OPTIONS=--openssl-legacy-provider + + COPY package.json package-lock.json angular.json ./ RUN npm install