Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

VTEX Lint action

Actions
Optionally run a lint task in the root of a project
1.1.0
Pre-release
By vtex
Star (5)

Lint action

This is a simple Github action that runs the lint script of a project. If the project doesn't have a package.json nor a lint script, the action is skipped.

Usage

To use it, just add it to your workflow and you're done:

# someworkflow.yml
name: CI Pull Requests

on:
  pull_request:
    branches: [master]

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
        
      - name: Lint
        uses: vtex/[email protected]

VTEX Lint action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Optionally run a lint task in the root of a project
1.1.0
Pre-release
By vtex

VTEX Lint action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.