build(docker): skip cypress install & bump node version (#2920)

pull/2921/head
TheCatLady 2 years ago committed by GitHub
parent a6f7b19693
commit 114943ae2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,13 +13,13 @@ jobs:
name: Lint & Test Build name: Lint & Test Build
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container: node:16.14-alpine container: node:16.17-alpine
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install dependencies - name: Install dependencies
env: env:
HUSKY_SKIP_INSTALL: 1 HUSKY: 0
run: yarn run: yarn
- name: Lint - name: Lint
run: yarn lint run: yarn lint

@ -1,4 +1,4 @@
FROM node:16.14-alpine AS BUILD_IMAGE FROM node:16.17-alpine AS BUILD_IMAGE
WORKDIR /app WORKDIR /app
@ -14,7 +14,7 @@ RUN \
esac esac
COPY package.json yarn.lock ./ COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile --network-timeout 1000000 RUN CYPRESS_INSTALL_BINARY=0 yarn install --frozen-lockfile --network-timeout 1000000
COPY . ./ COPY . ./
@ -33,7 +33,7 @@ RUN touch config/DOCKER
RUN echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json RUN echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json
FROM node:16.14-alpine FROM node:16.17-alpine
WORKDIR /app WORKDIR /app

@ -1,4 +1,4 @@
FROM node:16.14-alpine FROM node:16.17-alpine
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app

@ -11,7 +11,7 @@ confinement: strict
parts: parts:
overseerr: overseerr:
plugin: nodejs plugin: nodejs
nodejs-version: '16.14.0' nodejs-version: '16.17.0'
nodejs-package-manager: 'yarn' nodejs-package-manager: 'yarn'
nodejs-yarn-version: v1.22.17 nodejs-yarn-version: v1.22.17
build-packages: build-packages:

Loading…
Cancel
Save