Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/pull-request-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,16 @@ jobs:
with:
python-version: '3.12'

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '22'

- uses: jiro4989/setup-nim-action@v1
with:
nim-version: 2.2.4
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install redis
run: sudo apt-get -y update && sudo apt-get install -y redis-server

Expand Down
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,14 @@ RUN find /app/frameos -path '*/tests' -type d -prune -exec rm -rf {} + \
/app/frameos/agent/build \
/app/frameos/agent/tmp

WORKDIR /app/frameos
RUN nim c \
--nimCache:/tmp/frameos-native-js-transpile-nimcache \
--out:/app/frameos/build/native_js_transpile \
tools/native_js_transpile.nim \
&& test -x /app/frameos/build/native_js_transpile \
&& rm -rf /tmp/frameos-native-js-transpile-nimcache

FROM ${PYTHON_IMAGE} AS python-deps

ENV DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -163,6 +171,7 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1
ENV VIRTUAL_ENV=/app/backend/.venv
ENV FRAMEOS_NATIVE_JS_TRANSPILE=/app/frameos/build/native_js_transpile
ENV PATH="/opt/nim/bin:${VIRTUAL_ENV}/bin:${PATH}"

WORKDIR /app
Expand Down
Loading
Loading