Skip to content

Merge pull request #84 from leanix/renovate/node-20.x #164

Merge pull request #84 from leanix/renovate/node-20.x

Merge pull request #84 from leanix/renovate/node-20.x #164

Workflow file for this run

name: CI
on: [push]
jobs:
lint:
name: Lint & Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
- name: Install dependencies
run: npm ci
- name: Cache npm modules
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('npm-shrinkwrap.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Lint
run: npm run lint
- name: Test
run: npm test