mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-03-13 22:12:42 +03:00
Update node
This commit is contained in:
6
.github/workflows/test.yaml
vendored
6
.github/workflows/test.yaml
vendored
@@ -35,7 +35,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 24
|
||||
cache: npm
|
||||
- id: cache
|
||||
uses: actions/cache/restore@v4
|
||||
@@ -72,7 +72,7 @@ jobs:
|
||||
run: docker ps
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 24
|
||||
cache: npm
|
||||
- id: cache
|
||||
uses: actions/cache/restore@v4
|
||||
@@ -103,7 +103,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 24
|
||||
cache: npm
|
||||
- run: npm ci
|
||||
- name: restore postgres nyc output
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
FROM node:18-alpine as builder
|
||||
FROM node:24-alpine AS builder
|
||||
RUN apk add --no-cache --virtual .build-deps python3 make g++
|
||||
COPY package.json package-lock.json tsconfig.json entrypoint.sh ./
|
||||
COPY src src
|
||||
RUN npm ci && npm run tsc
|
||||
|
||||
FROM node:18-alpine as app
|
||||
FROM node:24-alpine AS app
|
||||
WORKDIR /usr/src/app
|
||||
RUN apk add --no-cache git postgresql-client
|
||||
COPY --from=builder ./node_modules ./node_modules
|
||||
|
||||
Reference in New Issue
Block a user