mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
* 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>
20 lines
460 B
YAML
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 }}
|