mathjs/.github/workflows/browserstack.yaml
Harry Sarson 788c0b96e9
Refactor/GitHub workflow (#2041)
* Try out running unit tests with github actions instead of Travis

* try running browser tests in github actions

* fix workflow names

* run build on pr too

* trying running CI only once on PR

* Revert "trying running CI only once on PR"

This reverts commit 9a3db6e167642e9bd35ed6f20a459c5450dd882e.

* run CI only once on PR from branch

* try running transpiled build on node 10

* correct node version syntax + tidy

* fix syntax

* final (?) fix up

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2020-12-18 14:36:56 +01:00

20 lines
460 B
YAML

name: Browser testing on browser stack
on: push
jobs:
browser-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm ci
- run: npm run test:browserstack
env:
CI: true
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}