mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-06-25 23:18:52 +00:00
ci: remove edge browser from cypress
This commit is contained in:
5
.changeset/old-parents-accept.md
Normal file
5
.changeset/old-parents-accept.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@openstapps/app-cypress": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
removed edge browser
|
||||||
@@ -66,22 +66,22 @@ RUN export FIREFOX_VERSION=$(curl -fsSL https://product-details.mozilla.org/1.0/
|
|||||||
rm /tmp/firefox.tar.xz && \
|
rm /tmp/firefox.tar.xz && \
|
||||||
ln -fs /opt/firefox/firefox /usr/bin/firefox
|
ln -fs /opt/firefox/firefox /usr/bin/firefox
|
||||||
|
|
||||||
RUN echo "Downloading Latest Edge version..."
|
# RUN echo "Downloading Latest Edge version..."
|
||||||
|
|
||||||
## Setup Edge
|
## Setup Edge
|
||||||
RUN curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
|
# RUN curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
|
||||||
RUN install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
|
# RUN install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
|
||||||
RUN sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
|
# RUN sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
|
||||||
RUN rm microsoft.gpg
|
# RUN rm microsoft.gpg
|
||||||
|
|
||||||
## Install Edge
|
# ## Install Edge
|
||||||
RUN apt-get update && \
|
# RUN apt-get update && \
|
||||||
apt-get install -y microsoft-edge-dev \
|
# apt-get install -y microsoft-edge-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
# && rm -rf /var/lib/apt/lists/* \
|
||||||
&& apt-get clean
|
# && apt-get clean
|
||||||
|
|
||||||
# Add a link to the browser that allows Cypress to find it
|
# # Add a link to the browser that allows Cypress to find it
|
||||||
RUN ln -s /usr/bin/microsoft-edge /usr/bin/edge
|
# RUN ln -s /usr/bin/microsoft-edge /usr/bin/edge
|
||||||
|
|
||||||
### PNPM
|
### PNPM
|
||||||
RUN corepack enable && corepack prepare pnpm@latest-10 --activate
|
RUN corepack enable && corepack prepare pnpm@latest-10 --activate
|
||||||
@@ -93,7 +93,6 @@ RUN echo " node version: $(node -v) \n" \
|
|||||||
"debian version: $(cat /etc/debian_version) \n" \
|
"debian version: $(cat /etc/debian_version) \n" \
|
||||||
"Chrome version: $(google-chrome --version) \n" \
|
"Chrome version: $(google-chrome --version) \n" \
|
||||||
"Firefox version: $(firefox --version) \n" \
|
"Firefox version: $(firefox --version) \n" \
|
||||||
"Edge version: $(edge --version) \n" \
|
|
||||||
"git version: $(git --version) \n" \
|
"git version: $(git --version) \n" \
|
||||||
"whoami: $(whoami) \n"
|
"whoami: $(whoami) \n"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user