Skip to content

.github/workflows/eslint.yaml #2

.github/workflows/eslint.yaml

.github/workflows/eslint.yaml #2

Workflow file for this run

name: Linter
on: [push]
#TODO: activate this
# pull_request:
# branches:
# - main
# push:
# branches:
# - main
permissions:
contents: read
jobs:
run-eslint:
name: Run eslint TypeScript Linter
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
cache: npm
- name: Install Dependencies
id: npm-ci
run: npm ci
- name: Lint
id: npm-lint
run: npm run lint
- name: Test
id: npm-ci-test
run: npm run format