| - name: Setup NodeJS | - name: Setup NodeJS | ||||
| uses: actions/setup-node@v4 | uses: actions/setup-node@v4 | ||||
| with: | with: | ||||
| node-version: 18 | |||||
| node-version: 20 | |||||
| cache: yarn | cache: yarn | ||||
| cache-dependency-path: ./web/package.json | cache-dependency-path: ./web/package.json | ||||
| # base image | # base image | ||||
| FROM node:18.17.0-alpine AS base | |||||
| FROM node:20.11.0-alpine AS base | |||||
| # install packages | # install packages | ||||
| FROM base as packages | FROM base as packages | ||||
| ENV COMMIT_SHA ${COMMIT_SHA} | ENV COMMIT_SHA ${COMMIT_SHA} | ||||
| EXPOSE 3000 | EXPOSE 3000 | ||||
| ENTRYPOINT ["/bin/sh", "./entrypoint.sh"] | |||||
| ENTRYPOINT ["/bin/sh", "./entrypoint.sh"] |