Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/RizkyRajitha/linkin
Browse files Browse the repository at this point in the history
  • Loading branch information
RizkyRajitha committed Jun 9, 2024
2 parents 867595f + 0d84a13 commit 2fcc4fc
Show file tree
Hide file tree
Showing 5 changed files with 8,182 additions and 7,794 deletions.
109 changes: 0 additions & 109 deletions .github/workflows/browsertesting.yml

This file was deleted.

8 changes: 2 additions & 6 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,14 @@ jobs:
# Maps tcp port 5432 on service container to the host
- 5432:5432

# strategy:
# matrix:
# node-version: [14.x]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js 14.x
- name: Set up Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x

- name: Cache node modules
uses: actions/cache@v2
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG DATABASE_URL
ARG HASHSALT
ARG RAILWAY=0
# Install dependencies only when needed
FROM node:alpine AS deps
FROM node:18-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.

ENV NEXT_TELEMETRY_DISABLED 1
Expand All @@ -16,7 +16,7 @@ RUN npm ci


# Rebuild the source code only when needed
FROM node:alpine AS builder
FROM node:18-alpine AS builder

ARG DATABASE_URL
ARG RAILWAY=0
Expand All @@ -38,7 +38,7 @@ RUN npm run build-next
#&& yarn install --production --ignore-scripts --prefer-offline

# Production image, copy all the files and run next
FROM node:alpine AS runner
FROM node:18-alpine AS runner

ARG DATABASE_URL
ARG HASHSALT
Expand Down
Loading

0 comments on commit 2fcc4fc

Please sign in to comment.