Sha256: c90efeb9a4d1d2e3affc4ac1a20bc9f140d53367a2fa3396be7d1e4e841414df

Contents?: true

Size: 831 Bytes

Versions: 1

Compression:

Stored size: 831 Bytes

Contents

name: "[CI] Lint"

on:
  push:
    branches:
      - main
  pull_request:

env:
  CI: "true"
  RUBY_VERSION: 3.1.1
  NODE_VERSION: 18.17.1

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

    steps:
      - uses: actions/checkout@v4
        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.6.0 .github/workflows/lint.yml