Skip to content

Fix tests for v4 without fields #48

Fix tests for v4 without fields

Fix tests for v4 without fields #48

Workflow file for this run

name: Test
on:
pull_request:
branches:
- master
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v3
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm ci
- name: Test
run: |
export BASE_URL=https://scicat.ess.eu/api/v3
npm run lint
npm run test