Skip to content

fix(env): Fix regression in isBrowser() check #213

fix(env): Fix regression in isBrowser() check

fix(env): Fix regression in isBrowser() check #213

Workflow file for this run

name: test
# On every pull request, but only on push to master
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20]
steps:
- uses: actions/[email protected]
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Bootstrap
run: |
npm run bootstrap
- name: Run build
run: |
npm run build
- name: Run tests
run: |
npm run test ci
- name: Coveralls
if: matrix.node-version == 16
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ${{ github.workspace }}/coverage/lcov.info