mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
fix: add Dockerfile for cypress
* install additional dependencies for cypress * remove duplicate cypress installation
This commit is contained in:
1 parent
0c1acf1083
commit
9ac429a564
4 files changed
+258
-14
No files matched your search
@@ -0,0 +1,8 @@
|
||||
FROM cypress/included:13.3.2
|
||||
|
||||
WORKDIR /app
|
||||
COPY package.json yarn.lock ./
|
||||
COPY tests/package.json ./tests/package.json
|
||||
|
||||
WORKDIR /app/tests
|
||||
RUN yarn install --frozen-lockfile
|
||||
+2
-4
@@ -5,10 +5,8 @@
|
||||
"main": "index.js",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"test": "cypress run"
|
||||
},
|
||||
"dependencies": {
|
||||
"cypress": "^13.2.0"
|
||||
"test": "cypress run",
|
||||
"test:open": "cypress open"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/cypress": "^10.0.1",
|
||||
|
||||
Reference in new issue
Block a user