Skip to content

Merge pull request #72 from leanix/renovate/actions-cache-4.x #124

Merge pull request #72 from leanix/renovate/actions-cache-4.x

Merge pull request #72 from leanix/renovate/actions-cache-4.x #124

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