Merge pull request #249 from elbywan/dependabot/npm_and_yarn/rollup-4… #257
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: Browser test | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- dev | |
workflow_dispatch: | |
jobs: | |
browsers-test: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "npm" | |
- name: Install firefox | |
run: brew install --cask firefox | |
- name: Install dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Run browser tests | |
env: | |
FIREFOX_BIN: /Applications/Firefox.app/Contents/MacOS/firefox | |
run: npm run test:karma |