Skip to content

Commit

Permalink
Update cypress version 4.12.1 -> 6.2.0 (#1213)
Browse files Browse the repository at this point in the history
  • Loading branch information
Errora authored Jan 14, 2021
1 parent 6b2a49f commit 7d00346
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/frontend-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
path: ~/.cache/Cypress
key: cypress-cache-${{ runner.os }}

- run: npm install cypress@4.12.1
- run: npm install cypress@6.2.0
- run: npx cypress cache list

- run: ./cypress-test.sh run --record --key ${{ secrets.CYPRESS_RECORD_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Running tests
.rocks/bin/luatest -v
# Frontend
npm install cypress@4.12.1
npm install cypress@6.2.0
./frontend-test.sh
./cypress-test.sh
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.base-ce
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ENV PATH="${PWD}/node_modules/.bin:${PATH}"
ENV CYPRESS_CACHE_FOLDER="/root/.cypress"
RUN npm install \
[email protected] \
cypress@4.12.1 \
cypress@6.2.0 \
&& npx cypress verify

RUN set -x &&\
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.base-ee
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ENV PATH="${PWD}/node_modules/.bin:${PATH}"
ENV CYPRESS_CACHE_FOLDER="/root/.cypress"
RUN npm install \
[email protected] \
cypress@4.12.1 \
cypress@6.2.0 \
&& npx cypress verify

RUN set -x &&\
Expand Down
2 changes: 2 additions & 0 deletions cypress-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ LAUNCHER_SCRIPT

trap "kill %1" EXIT

export NODE_ENV=production
export BABEL_ENV=$NODE_ENV
npx cypress "$@" -P webui/

0 comments on commit 7d00346

Please sign in to comment.