chore(deps): update typescript-eslint monorepo to v6.7.2 #1753
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2022 Johannes Loher | |
# | |
# SPDX-License-Identifier: MIT | |
name: Checks | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- 'v*.*.*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: [16, 18] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
- name: install node | |
uses: actions/setup-node@v3.8.1 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Cache Node.js modules | |
uses: actions/cache@v3 | |
with: | |
path: .npm | |
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.OS }}-node- | |
${{ runner.OS }}- | |
- name: Install dependencies | |
run: npm ci --cache .npm --prefer-offline | |
- name: Lint | |
run: npm run lint | |
- name: REUSE Compliance Check | |
uses: fsfe/reuse-action@v2 | |
- name: Test | |
run: npm run test:ci | |
- name: Build | |
run: npm run build |