Migrate from Fancybox 3.5.7 to GLightbox 3.3.1 and add avatar image s… #27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run Linters | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install package dependencies | |
| run: | | |
| sudo apt-get install --yes --quiet pandoc | |
| - name: Setup gems | |
| run: | | |
| cp test/support/gemfile.rb Gemfile | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.3 | |
| bundler-cache: true | |
| - name: Run bundler | |
| run: | | |
| bundle install --jobs 4 --retry 3 | |
| - name: Run RuboCop | |
| run: | | |
| bundle exec rubocop -S | |
| - name: Run Brakeman | |
| run: | | |
| bundle exec brakeman -5 | |
| - name: Setup node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '24' | |
| - run: yarn install | |
| - name: Run Stylelint | |
| run: node_modules/.bin/stylelint assets/stylesheets/ | |
| - name: Run ESLint | |
| run: node_modules/.bin/eslint assets/javascripts/ | |
| - name: Run MarkdownLint | |
| run: node_modules/.bin/markdownlint README.md |