mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-21 19:26:40 +00:00
bump node:18 Docker containers to node:20
This commit is contained in:
parent
4a2c712b3d
commit
70f6b85a21
|
@ -57,7 +57,7 @@ steps:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
- name: web-setup
|
- name: web-setup
|
||||||
image: node:18-alpine
|
image: node:20-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- name: yarn_cache
|
- name: yarn_cache
|
||||||
path: /tmp/cache
|
path: /tmp/cache
|
||||||
|
@ -72,7 +72,7 @@ steps:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
- name: web-lint
|
- name: web-lint
|
||||||
image: node:18-alpine
|
image: node:20-alpine
|
||||||
commands:
|
commands:
|
||||||
- yarn --cwd ./web/source lint
|
- yarn --cwd ./web/source lint
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -83,7 +83,7 @@ steps:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
- name: web-build
|
- name: web-build
|
||||||
image: node:18-alpine
|
image: node:20-alpine
|
||||||
commands:
|
commands:
|
||||||
- yarn --cwd ./web/source build
|
- yarn --cwd ./web/source build
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -224,5 +224,3 @@ steps:
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 1b89e3a538fbca72eb9a0b398cd82f09a774ba3649013e19d36012eda327e83f
|
hmac: 1b89e3a538fbca72eb9a0b398cd82f09a774ba3649013e19d36012eda327e83f
|
||||||
|
|
||||||
...
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ WORKDIR /go/src/github.com/superseriousbusiness/gotosocial
|
||||||
RUN /go/bin/swagger generate spec -o /go/src/github.com/superseriousbusiness/gotosocial/swagger.yaml --scan-models
|
RUN /go/bin/swagger generate spec -o /go/src/github.com/superseriousbusiness/gotosocial/swagger.yaml --scan-models
|
||||||
|
|
||||||
# stage 2: generate the web/assets/dist bundles
|
# stage 2: generate the web/assets/dist bundles
|
||||||
FROM --platform=${BUILDPLATFORM} node:18-alpine AS bundler
|
FROM --platform=${BUILDPLATFORM} node:20-alpine AS bundler
|
||||||
|
|
||||||
COPY web web
|
COPY web web
|
||||||
RUN yarn --cwd ./web/source install && \
|
RUN yarn --cwd ./web/source install && \
|
||||||
|
|
Loading…
Reference in a new issue