mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +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>
19 lines
311 B
YAML
19 lines
311 B
YAML
name: Browser testing locally
|
|
|
|
on: pull_request
|
|
|
|
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:browser
|
|
env:
|
|
CI: true
|