change e2e to use node module

This commit is contained in:
wancat committed 2024-02-08 17:40:01 +08:00
1 parent f797f4d897
commit c06d6d6deb
8 files changed
+29 -13

No files matched your search

+6 -3
View File
@@ -1,10 +1,13 @@
FROM cypress/included:13.5.1
FROM cypress/browsers:node-20.11.0-chrome-121.0.6167.85-1-ff-120.0-edge-121.0.2277.83-1
WORKDIR /e2e
RUN yarn set version stable
COPY package.json yarn.lock ./
COPY tests/package.json ./tests/package.json
RUN yarn install --frozen-lockfile
RUN yarn config set -H enableImmutableInstalls false
RUN yarn install
COPY quests ./quests
COPY tests ./tests
WORKDIR /e2e/tests
WORKDIR /e2e/tests
CMD [ "yarn", "test:e2e" ]