Skip to content

Commit 4ee4010

Browse files
committed
Add npm and node to build environment
1 parent 823dcc7 commit 4ee4010

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/actions/build-environment/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,23 @@ RUN apt-get update \
8181
&& apt-get clean \
8282
&& rm -rf /var/lib/apt/lists/*
8383

84+
# Install web development tools
85+
RUN apt-get update \
86+
&& curl -sL https://deb.nodesource.com/setup_12.x | bash - \
87+
&& apt-get install -y --no-install-recommends nodejs \
88+
&& npm install -g yarn@1 \
89+
# Clean up
90+
&& apt-get clean \
91+
&& rm -rf /var/lib/apt/lists/*
92+
8493
# Install documentation dependencies
8594
RUN pip install \
8695
mkdocs==1.* \
8796
mkdocs-material==6.* \
8897
pymdown-extensions==8.* \
8998
pygments==2.* \
9099
markdown-include==0.6.* \
100+
mkdocs-awesome-pages-plugin==2.* \
91101
mkdocs-markdownextradata-plugin==0.1.* \
92102
&& npm install -g markdownlint@^0.21.1 markdownlint-cli@^0.24.0
93103

0 commit comments

Comments
 (0)