Skip to content

Fix non-breaking security complaints #43

Fix non-breaking security complaints

Fix non-breaking security complaints #43

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