Skip to content

Commit

Permalink
bump nodejs version in dockerfile and github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Rosenberg committed Jul 19, 2023
1 parent f20f227 commit 3626463
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Setup Node.js for use with actions
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x

- uses: actions/cache@v1
with:
Expand Down
7 changes: 5 additions & 2 deletions conf/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ RUN apt-get update && apt-get install -y \
git \
vim

# install node 12.x
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
# install node 16.x
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs

RUN pip install poetry
Expand All @@ -49,3 +49,6 @@ USER tg458981
RUN echo "prefix=~/.npm-global" >> ~/.npmrc

WORKDIR /srv/www/designsafe

RUN npm ci
RUN npm run build

0 comments on commit 3626463

Please sign in to comment.