mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 11:30:13 +08:00
change e2e to use node module
This commit is contained in:
1 parent
f797f4d897
commit
c06d6d6deb
8 files changed
+29
-13
No files matched your search
+6
-3
@@ -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" ]
|
||||
Reference in new issue
Block a user