romainnorberg / rome-frontend-check-action

Run Rome (https://romefrontend.dev/) checks in your Github Actions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rome frontend action

Run Rome checks in your Github Actions.

For examples on how to use this, check out the rome-frontend-check-action-demo repository

Usage

on: [push]

jobs:
  rome-frontend-check:
    runs-on: ubuntu-latest

    name: A job to test action

    steps:
    - uses: actions/checkout@v1

    - name: Install node v12
      uses: actions/setup-node@v1
      with:
        node-version: 12

    - name: Run Rome check
      id: check
      uses: romainnorberg/rome-frontend-check-action@v1
      with:
        version: 10.0.3-beta # optional
        #check-flags: '--log-path <path>' # optional
        check-flags: '--verbose-diagnostics' # optional

Action Spec:

Environment variables

  • None

Inputs

  • version [optional] - Package version. Default: latest stable
  • check-flags [optional] - Global Flags for check command (rome check [flags]). Default: empty

Outputs

  • None

Action preview


Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email romainnorberg@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Run Rome (https://romefrontend.dev/) checks in your Github Actions.

License:MIT License


Languages

Language:JavaScript 100.0%