Add Node.js for Gitea Actions
This commit is contained in:
@@ -21,10 +21,15 @@ RUN apt-get update \
|
||||
unzip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
||||
&& apt-get install -y --no-install-recommends nodejs \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN python3 -m pip install --no-cache-dir "mbed-cli==1.10.5"
|
||||
|
||||
RUN arm-none-eabi-gcc --version \
|
||||
&& python3 --version \
|
||||
&& node --version \
|
||||
&& mbed --version
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
Reference in New Issue
Block a user