Sha256: 0cb8baaa24a1a1870f61b4193c211e9cbf8b0b2643f39eb72ac890f7a5fec311

Contents?: true

Size: 830 Bytes

Versions: 1

Compression:

Stored size: 830 Bytes

Contents

name: "[CI] Lint"

on:
  push:
    branches:
      - main
  pull_request:

env:
  CI: "true"
  RUBY_VERSION: 3.0.6
  NODE_VERSION: 16.9.1

jobs:
  lint-report:
    name: Linting
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 1

      - uses: actions/setup-node@master
        with:
          node-version: ${{ env.NODE_VERSION }}

      - run: npm ci
        name: Install JS deps

      - run: npm run lint
        name: Lint JS files

      - run: npm run stylelint
        name: Lint SCSS files

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ env.RUBY_VERSION }}
          bundler-cache: true

      - run: bundle exec rubocop -P
        name: Lint Ruby files

      - run: bundle exec erblint app/**/*.erb
        name: Lint ERB files

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-reporting_proposals-0.5.2 .github/workflows/lint.yml