Skip to content

Commit

Permalink
node upgrade - v18 (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeknovy authored Jan 13, 2023
1 parent d44a324 commit 01c5d85
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 01c5d85

Please sign in to comment.