Skip to content

chore: node 18 upgrade #42

chore: node 18 upgrade

chore: node 18 upgrade #42

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