mathjs/.github/workflows/local-browser.yaml
Jos de Jong 0a093307b8
Setup Foresight testing workflow (#2802)
* Add Foresight configuration for Github Actions

* Temporarily update Foresight config to trigger in feature branch too

* Fix foresight config

* Change `test_path` to point to a folder with the test results

* Remove quotes from test_path

* Use the default naming of test-results.xml again

* Make the test output file explicit

* Remove redundant environment variables

* Only run foresight workflow on `main` and `develop` branches

* Upgrade to `actions/checkout@v3` and `actions/setup-node@v3` in the Github Actions workflows
2022-10-06 14:06:40 +02:00

19 lines
311 B
YAML

name: Browser testing locally
on: pull_request
jobs:
browser-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
- run: npm ci
- run: npm run test:browser
env:
CI: true