test: use short-form cypress/browsers tag (#1318) #2859
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: example-firefox | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
firefox: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Firefox | |
uses: ./ | |
timeout-minutes: 3 | |
with: | |
# let's show browser and system info | |
build: npx cypress info | |
working-directory: examples/browser | |
browser: firefox | |
# report screenshot size and store the screenshots as test artifacts | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: screenshots-in-firefox | |
path: examples/browser/cypress/screenshots | |
- run: npx image-size cypress/screenshots/**/*.png | |
working-directory: examples/browser |