Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Merge branch 'feature/no-ref/sonar' into feature/no-ref/ci #3

Merge branch 'feature/no-ref/sonar' into feature/no-ref/ci

Merge branch 'feature/no-ref/sonar' into feature/no-ref/ci #3

Workflow file for this run

name: Lint
on:
push:
branches:
- main
- develop
- 'feature/**'
- 'fix/**'
paths-ignore:
- '**/*.md'
- .scafflater/**
- docs/**
pull_request:
branches:
- main
- develop
paths-ignore:
- '**/*.md'
- .scafflater/**
- docs/**
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Node Cache
uses: actions/cache@v2
id: cache
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint