Skip to content

Commit 474cc40

Browse files
committed
firefox cypress test add install firefox
1 parent 6df658e commit 474cc40

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/cypress.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ jobs:
9090
- name: Install npm dependencies
9191
run: |
9292
npm ci
93+
- name: Install Firefox
94+
run: |
95+
sudo apt-get update
96+
sudo apt-get install -y firefox
9397
- name: Run Cypress
9498
uses: cypress-io/github-action@v6
9599
with:
@@ -108,5 +112,5 @@ jobs:
108112
# pass GitHub token to allow accurately detecting a build vs a re-run build
109113
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
110114
# better cypress run titles
111-
COMMIT_INFO_MESSAGE: ${{github.event.pull_request.title}}
112-
COMMIT_INFO_SHA: ${{github.event.pull_request.head.sha}}
115+
COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }}
116+
COMMIT_INFO_SHA: ${{ github.event.pull_request.head.sha }}

0 commit comments

Comments
 (0)