Skip to content

Commit

Permalink
Create tslint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyp3Boy authored Oct 10, 2024
1 parent 5fa74d8 commit 4a85474
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/tslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Lint

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
permissions:
contents: read # Permisos para leer el contenido del repositorio
checks: write # Permisos para crear y actualizar checks

steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 20

- name: Install Node.js dependencies
run: npm ci

- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true
prettier: true

0 comments on commit 4a85474

Please sign in to comment.