Skip to content

Fix call to a member function get_token() on null #5016

Fix call to a member function get_token() on null

Fix call to a member function get_token() on null #5016

Workflow file for this run

name: JS tests
on:
pull_request
jobs:
test:
name: JS testing
runs-on: ubuntu-latest
steps:
# clone the repository
- uses: actions/checkout@v2
# use the node version defined in nvmrc
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
# enable dependencies caching
- uses: actions/cache@v2
with:
path: ~/.npm/
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
# install dependencies and run linter
- run: npm ci && npm run test:js