Re-add Node.js for CI actions
This commit is contained in:
@@ -9,7 +9,7 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: gitea.kosmos.org/kosmos/akkounts-ci:0.11.0
|
container: gitea.kosmos.org/kosmos/akkounts-ci:0.11.1
|
||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
|
|||||||
@@ -5,5 +5,12 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|||||||
|
|
||||||
RUN apt-get update -qq && apt-get install -y --no-install-recommends curl unzip \
|
RUN apt-get update -qq && apt-get install -y --no-install-recommends curl unzip \
|
||||||
ldap-utils tini libvips
|
ldap-utils tini libvips
|
||||||
|
|
||||||
|
# Node.js — required by GitHub/Gitea Actions runtime for JS-based actions
|
||||||
|
# (actions/checkout, actions/cache, etc.)
|
||||||
|
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
|
||||||
|
RUN apt-get update && apt-get install -y nodejs
|
||||||
|
|
||||||
|
# Bun — used by the app for CSS builds
|
||||||
RUN curl -fsSL https://bun.sh/install | bash -s -- bun-v1.3.14
|
RUN curl -fsSL https://bun.sh/install | bash -s -- bun-v1.3.14
|
||||||
ENV PATH="/root/.bun/bin:$PATH"
|
ENV PATH="/root/.bun/bin:$PATH"
|
||||||
|
|||||||
Reference in New Issue
Block a user