test: update the test execution env (#1235)

This commit is contained in:
Peter Evans 2022-08-26 11:07:49 +09:00 committed by GitHub
parent 9c5916f06d
commit 6e59b075e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ if [[ "$(docker images -q $IMAGE 2> /dev/null)" == "" || $ARG1 == "build" ]]; th
echo "Building Docker image $IMAGE ..." echo "Building Docker image $IMAGE ..."
cat > Dockerfile << EOF cat > Dockerfile << EOF
FROM node:12-alpine FROM node:16-alpine
RUN apk --no-cache add git git-daemon RUN apk --no-cache add git git-daemon
RUN npm install jest jest-environment-jsdom --global RUN npm install jest jest-environment-jsdom --global
WORKDIR /cpr WORKDIR /cpr